cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP sender adapter

Former Member
0 Kudos

I have two separate xsds for request and response.

I need to expose this as web service to my client to invoke the web service on XI.

scenario is SOAP to Proxy synchronous.

I uploaded xsds in repository and tried to expose them by choosing Define Webservice option in Configuration.( given msgInterface Outbound Synchronous)

Some how I can see only thr response structure in the generated wsdl.

How to make sure XI generated wsdl has both request & response strcture.

I did check the wsdl by uploading in XI, just to mae sure if it has both request and response in Messages tab . Unfortunately I could see only response structure but not request.

Please share your thoughts.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

Check the request and response types are set correctly.

Best is generate this WSDL outside PI using XML SPY or some other tool and import the WSDL to avoid confusion for the same

Thanks

Gaurav

Former Member
0 Kudos

i have xml spy, could you tell how will we generate single wsdl from request and response xsds.

Just wanted to make sure am I missing anything specific, why I could not generate wsdl from XI using requestxsd and response xsd.

Former Member
0 Kudos

Hi

Ok with PI just check once that while creating the WSDL

1. URL provided should be correct

2. Define the correct interface - (in interface general problem is input and output message may need to be swaped)

3. Define the sender service you need correctly. ( make sure if sender service is a business service this should have request and response present in sender and receiver )

4. Check for the namespace

Thanks

Gaurav

Former Member
0 Kudos

thanks for your response Gaurav

But I got this error while testing from XML SPY

<?xml version="1.0"?>

<!-- see the documentation -->

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>RecoverableException</code>

<text><![CDATA[

com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:

at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:133)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:850)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(AccessController.java:219)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Former Member
0 Kudos

Hi

This happened after you created a new file or the old one is having this problem.

Error shows WSDL is incorrect this cannot send SOAP request

Thanks

Gaurav

Former Member
0 Kudos

this happened after I created the new wsdl,

this time i just got request structure in wsdl , response structure is missing.

IS this stopping the testing from XML spy?

Former Member
0 Kudos

Sorry Gaurav, the reponse msg is there in wsdl, i just examined all elements.

I uploaded this n xml spy, creat a soap request,

Iam using my user name & password , which I normally use to login to development box.

do u think is this the problem Do u think i do not have xiappluser rights?

Please advise

Former Member
0 Kudos

Hi Gaurav thanks for your valuable suggestions.

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

if you have mentioned both the messages in your out bound syn interface, it should automatically generate. try running your scneario from RWB test tab. If it is working there without error, WSDL generation should not be a problem.

VJ

Former Member
0 Kudos

Hi Vijay,

Thanks for your reply.

I did have input message and output message in my Message interface which is Outbound syncrhonous.

Still when i generate wsdl using Define Webservice, it is showing up only response part.