on 07-18-2008 11:17 AM
Hi all,
I am using a wsdl file of an webservice as the external defination.But when I check the response message structure in the wsdl ,I found Its kept as type String where as it should be of type complex and of a specific data type(Data structe--hierrarchical).For this reason I am not getting the message structure in the message mapping pane ,only getting the message name not the structure of it.But exept that how I can map that message to an specified idoc structure.
If ur wsdl does not have the response structure, then there is no way by which u can achieve this in mapping. U ll have to correct the wsdl structure first and reimport it. Also make sure that the wsdl is in document format and not rpc.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prateek,
<?xml version="1.0" encoding="ISO-8859-1"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://bean.getinvoiceinformation.ewsc.nesas.nissan.com">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://bean.getinvoiceinformation.ewsc.nesas.nissan.com" targetNamespace="http://bean.getinvoiceinformation.ewsc.nesas.nissan.com">
<xsd:element name="generateInvoiceInformationResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="generateInvoiceInformationReturn" type="xsd:string" nillable="true" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="generateInvoiceInformation">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fromDate" type="xsd:string" nillable="true" />
<xsd:element name="toDate" type="xsd:string" nillable="true" />
<xsd:element name="countryCode" type="xsd:string" nillable="true" />
<xsd:element name="specType" type="xsd:string" nillable="true" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="generateInvoiceInformationRequest">
<wsdl:part xmlns:generateduniqueprefix0="http://bean.getinvoiceinformation.ewsc.nesas.nissan.com" name="parameters" element="generateduniqueprefix0:generateInvoiceInformation" />
</wsdl:message>
<wsdl:message name="generateInvoiceInformationResponse">
<wsdl:part xmlns:generateduniqueprefix1="http://bean.getinvoiceinformation.ewsc.nesas.nissan.com" name="parameters" element="generateduniqueprefix1:generateInvoiceInformationResponse" />
</wsdl:message>
</wsdl:definitions>
Please check.
Here in the message tab this wsdl shows the message names as generateInvoiceInformationRequest
generateInvoiceInformationResponse
But in the message pane the request msg name comes as
generateInvoiceInformation
Response msg name comes as:
generateInvoiceInformationReturn
Totally confusing.Please check the wsdl and suggest
The wsdl look ok.
Here in the message tab this wsdl shows the message names as generateInvoiceInformationRequest
generateInvoiceInformationResponse
Correct. I also checked it.
But in the message pane the request msg name comes as
generateInvoiceInformation
U create ur message with this name only. (without Request)
Response msg name comes as:
generateInvoiceInformationReturn
It is just the field name under enerateInvoiceInformationResponse
Regards,
Prateek
Idea Dropped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.