on 10-09-2008 4:52 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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>
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.