In my job I am trying to consume wsdl. To achieve this I have created web service datastore. When I am trying to import wsdl metadata it is giving parse error.
I am able to consume same wsdl thru SOAPUI and .net but in data service XI3.1 it is giving error.
Screen shot of error is attached for reference. Please give me your precious suggestion
Manoj /wdaehn
please give me your suggestion.
When I am trying to import wsdl metadata into web service datastore it is giving following error.
An error occurred while importing metadata:%(BODI-1111469)Error parsing theinclude in the XML sent by the adapter to represent a function<Error importing XML Schema from file<adapter_schema_in.xcd>:<XML parser failed:Error<Schema Representation Constraint:Namespaceurn;Xchanging-Insurance-XIS-EAcc_Intf_Data_NotifyLoadType1:pyDefault is refernced withoutdeclaration>at line<5>,char<52>in<<xsd:schema xmlns:xsd=http//www.w3.org/2001/XMLSchema
Xmlns:tns=urn:PegaRULES:SOAP:EaccountsServices:EAccountServiceClassxmlns:diws=SAP Software Solutions | Business Applications and Technology>
<xsd:import namespace=urn:PegaRULES:SOAP:EAccountsServices:EAccountServicesClass
schemaLocation=E:\Programe Files\Business Objects\BusinessObjects Data Services\ext\webservice\EAccountServicesClassServiceNotifyLoadNotifyLoad.xsd/>
<xsd:element name=NotifyLoad> xsd:complexType xsd::sequence
<xsd:element ref=tns:NotifyLoad/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>>,file<E:\Programe Files\Business Objects\BusinessObjects Data Services\ext\webservice\EAccountServicesClassServiceNotifyLoadNotifyLoad.xsd>.>.
Please validate your Schema using external schema validator(found at w3.org).>:.
I am attaching wsdl as txt file for reference.
Thanks
its expecting import for the other namesapce though its defined in the same WSDL for targetNameSpace urn:PegaRULES:SOAP:EAccountsServices:EAccountServicesClass
to workaround this error do the following
have also attached the modified WSDL try with that
Your modified wsdl is working fine. I am able to consume wsdl using data services XI3.1. I created web service type datastore and adapter type datastore both are working.
Actually we are planning to migrate to data services XI3.1. For testing purpose we installed data services on one of the machine. Our other environments e.g. dev, system test, UAT, production, are still having DI 11.7.3.0. These will be upgraded but can take time.
Due to constraint I am trying to consume wsdl in DI 11.7.3.0. To achieve this I have created web service adapter type datastore and successfully imported wsdl metadata. During run time job is giving following error.
Web Service client unable to invoke a Web Services server. Error: Couldn’t parse SOAP request envelope.
Please help me out as you did in the past.
If any Keystore Path concept is involve then please explain its steps.
if ceritifcate was not required in XI 3.1 for calling this web service, then it wouldn’t be required in 11.7, this error is not related to certificate or keystore
for 11.7.3 enable the trace for the WebService Adapter, and run the job, attach the Adapter trace, before enabling adapter trace do the following
stop the Adapter instance
rename/move the following adapter trace and error file
the trace and error file will be in %LINK_DIR%\adapters\log
start the Adapter
run the job
check the input soap message that is passed to the service, is the SOAP message correct ?
I have enabled adapter trace log as suggest by you. In adapter log folder there are three files SoapMessage.xml, WebService_error.txt, WebService_trace.txt. SOAP message is correct.
since you are able to invoke this operation in 12.1 using Native web service, try enabling tracing for job and see the message its sending, do you see any difference ?
try calling this using Web Service Adapter in 12.1 and see if it works in there ?
the problem is most likely with the message, either the format is wrong or something is missing when its called from 11.7 java adapter
you can’t change the message, let me check if something got fixed in later fix packs for 11.7.3
is the function schema in Adapter Datastore same in 11.7 and 12.1 ? you can check this in Designer, double click on the function name in datastore, it will display the innput and output schema for the function
the schema’s are getting import differently in 117. and 12.1, in 12.1 the request element is inside NotifyLoad element, where as in 11.7 request is root element in the function input schema
some issue in 11.7 while importing the schema, let me check if this can be woraround by changing the WSDL
I modified datastore ATL suggested by you and it is working.
Work around is working for 12.1.1.3 and 11.7.3.0. As you told there is a bug in 11.7.3.0 but why work around is required for 12.1.13
Work around for 12.1.1.3 was given by you. You gave me modified wsdl. Can you please let me know why 12.1.1.3 is not able to import correct wsdl metadata.
Hi,
I tried to extract our empolyee’s data via web services datastore but was unable to import the function from an existing wsdl. We have Data Services XI3.1. I was able to use the same wsdl through SoupUI but not the DS XI3.1. The error from the trace error log is attached.
After I read the posts with the similar problem in BOB, it was suggested either modifying the wsdl or upgrading the DS to XI3.2. Unfortunately, we cannot change the existing wsdl and also not going to upgrade the DS very soon.
Hello Everyone, I’m having the same issue but my message is different. (I’ve attached the screenshot). I’m using a webservice developed in Java. My service.xml service is attached too. Please heeelpp!!