on 12-07-2006 1:26 PM
Hi,
I have a WSDL file which has complex Data types (abc.wsdl). This complex data types are defined in the XSD file (abc-data.xsd).
If I just import WSDL file in ED I am unable to find the Complex Data types in Message Mapping.
How can I use the XSD file along with the WSDL file? Is there any source path as to give or what?
Could you please help me out ?
Not sure of this approach, but try to zip both files and then upload that zip file, Might find luck !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
<i>when i check the Messages tab i can see all the message names but my wsdl file has complex type which is defined in the XSD file. Problem comes when i am doing Message Mapping. Let i explain u in this way..
I have in source
User name
Password fields
but in target i have complex type as fx:authInfo..</i>
Even from complex type the connection is internally created by the WSDL. In your WSDL, do u have a messsage which contains fields for the userid and password. Just map your structure fields to the target message.
What do u mean when u are saying there is mapping in problem. Do u mean the Data type??
Regards
Vijaya
first i will tell how my wsdl file is defined
<xs:element name="authInfo" type="<b>xx:AuthInfo</b>"> <xs:annotation> <xs:documentation xml:lang="en"> Authentication information </xs:documentation> </xs:annotation> </xs:element>
and in my xsd file for xx:AuthInfo
<xs:complexType name="AuthInfo">
<xs:sequence>
<xs:element name="acctName" type="tns:CustName">
<xs:annotation>
<xs:documentation xml:lang="en">
account name.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="password" type="tns:AcctPswd">
<xs:annotation>
<xs:documentation xml:lang="en">
Specify the password </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
when i import wsdl file in Ed i will get two inputs there but only one as "AuthInfo"
but "AuthInfo" has two inputs.
this is how my Target Message Look like
Tree Occurences Type
authInfo 1..1 xx:AuthInfo
i hope i have cleared u..
Hi,
You just have to import the WSDL as External Definition.
there in the Message tab you will see the list of xsd that have got imported.
You can use the same for MT etc.
Regards
Vijaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for ur reply..
when i check the Messages tab i can see all the message names but my wsdl file has complex type which is defined in the XSD file. Problem comes when i am doing Message Mapping. Let i explain u in this way..
I have in source
User name
Password fields
but in target i have complex type as fx:authInfo..
this fx:authInfo is defined in XSD file as
<xs:complexType name="AuthInfo">
<xs:sequence>
<xs:element name="acctName" type="tns:CustName">
<xs:annotation>
<xs:documentation xml:lang="en">
account name.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="password" type="tns:AcctPswd">
<xs:annotation>
<xs:documentation xml:lang="en">
password </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
for mapping this two fields i have to have two fields in the Target as well. but i am not getting that.
i hope i am clear to u..
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.