on 01-31-2007 10:41 AM
Hi Experts,
Please help me with the following scenario.
I am designing a webservice scenario and have the WSDL available .
The webservice expect the SOAP message as follows
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<SecurityHeader xmlns="http://onefile.cyzone.co.uk/webservices/proactive">
<PortalID>int</PortalID>
<Username>string</Username>
<Password>string</Password>
</SecurityHeader>
</soap:Header>
<soap:Body>
<OrganisationCreate xmlns="http://onefile.cyzone.co.uk/webservices/proactive">
<Organisation>
<Title>string</Title>
<Standards>
<Standard>
<StandardID>int</StandardID>
</Standard>
<Standard>
<StandardID>int</StandardID>
</Standard>
</Standards>
</Organisation>
</OrganisationCreate>
</soap:Body>
</soap:Envelope>
I imported the WSDL as external definition and can see all messages in XI
In the corresponding operation( from WSDL) as given below, it indicates SecurityHeader to be used as SOAP header. However, the WSDL has OrganisationCreate and OrganisationSecurityHeader as separete messages. How do we combine these two in Message Interface.
- <wsdl:operation name="OrganisationCreate">
<soap:operation soapAction="http://onefile.cyzone.co.uk/webservices/proactive/OrganisationCreate" style="document" />
- <wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:OrganisationCreateSecurityHeader" part="SecurityHeader" use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
Please advice.
Thanks in advance,
Mona
Hello,
Thanks for you replies, but can you elaborate how can i include whole message here.
Mona
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you are not supposed to create SOAP envelop, you have to cerate whole.
See below links Consuming XI Web Services using Web Dynpro Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
Consuming XI Web Services using Web Dynpro Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
/people/kevin.liu/blog/2006/04/12/wsdl-11-binding-extension-for-soap-12
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use "not use SOAP envelope" option
and you can create a whole SOAP message in your mapping
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.