on 01-14-2010 10:22 AM
hello experts
I have XI7.0 and a scenario RFC2WS. I am trying to load the WSDL to the XI and when I enter it to the MESSAGE INTERFACE I dont see any of the methods that the WSDL has.
in XML SPY I am able to make a SOAP REQUEST out of the WSDL.
I try to play with the schema (make one schema) or with the name spaces but with out any success.
the wsdl is:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://compulsoryRenewService.services.elementar.migdal.co.il" xmlns:intf="http://compulsoryRenewService.services.elementar.migdal.co.il" xmlns:tns1="http://vo.compulsoryRenewService.services.elementar.migdal.co.il" xmlns:tns2="http://common.services.elementar.migdal.co.il" xmlns:tns3="http://exceptions.common.fw.ness.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://compulsoryRenewService.services.elementar.migdal.co.il">
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://compulsoryRenewService.services.elementar.migdal.co.il" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://vo.compulsoryRenewService.services.elementar.migdal.co.il"/>
<import namespace="http://common.services.elementar.migdal.co.il"/>
<import namespace="http://exceptions.common.fw.ness.com"/>
<element name="getCompulsoryRenewData">
<complexType>
<sequence>
<element name="anaf" type="xsd:int"/>
<element name="year" type="xsd:string"/>
<element name="month" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="getCompulsoryRenewDataResponse">
<complexType>
<sequence>
<element name="getCompulsoryRenewDataReturn" type="tns1:PolicyRenewDataList"/>
</sequence>
</complexType>
</element>
<complexType name="ArrayOf_tns1_PolicyRenewData">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:PolicyRenewData"/>
</sequence>
</complexType>
<element name="fault" type="tns3:FatalException"/>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://common.services.elementar.migdal.co.il" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://compulsoryRenewService.services.elementar.migdal.co.il"/>
<import namespace="http://vo.compulsoryRenewService.services.elementar.migdal.co.il"/>
<import namespace="http://exceptions.common.fw.ness.com"/>
<complexType name="BaseResult">
<sequence>
<element name="errorMessage" nillable="true" type="xsd:string"/>
<element name="errorCode" type="xsd:int"/>
</sequence>
</complexType>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://vo.compulsoryRenewService.services.elementar.migdal.co.il" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://compulsoryRenewService.services.elementar.migdal.co.il"/>
<import namespace="http://common.services.elementar.migdal.co.il"/>
<import namespace="http://exceptions.common.fw.ness.com"/>
<complexType name="PolicyRenewData">
<sequence>
<element name="policyId" nillable="true" type="xsd:decimal"/>
<element name="id" nillable="true" type="xsd:decimal"/>
<element name="endDate" nillable="true" type="xsd:string"/>
<element name="anaf" nillable="true" type="xsd:decimal"/>
<element name="startDate" nillable="true" type="xsd:string"/>
<element name="runninigNum" nillable="true" type="xsd:decimal"/>
</sequence>
</complexType>
<complexType name="PolicyRenewDataList">
<complexContent>
<extension base="tns2:BaseResult">
<sequence>
<element name="policyRenewDataList" nillable="true" type="impl:ArrayOf_tns1_PolicyRenewData"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://exceptions.common.fw.ness.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://compulsoryRenewService.services.elementar.migdal.co.il"/>
<import namespace="http://vo.compulsoryRenewService.services.elementar.migdal.co.il"/>
<import namespace="http://common.services.elementar.migdal.co.il"/>
<complexType name="GeneralException">
<sequence/>
</complexType>
<complexType name="FatalException">
<complexContent>
<extension base="tns3:GeneralException">
<sequence/>
</extension>
</complexContent>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="FatalException">
<wsdl:part name="fault" element="intf:fault"/>
</wsdl:message>
<wsdl:message name="getCompulsoryRenewDataResponse">
<wsdl:part name="parameters" element="intf:getCompulsoryRenewDataResponse"/>
</wsdl:message>
<wsdl:message name="getCompulsoryRenewDataRequest">
<wsdl:part name="parameters" element="intf:getCompulsoryRenewData"/>
</wsdl:message>
<wsdl:portType name="CompulsoryRenewService">
<wsdl:operation name="getCompulsoryRenewData">
<wsdl:input name="getCompulsoryRenewDataRequest" message="impl:getCompulsoryRenewDataRequest"/>
<wsdl:output name="getCompulsoryRenewDataResponse" message="impl:getCompulsoryRenewDataResponse"/>
<wsdl:fault name="FatalException" message="impl:FatalException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CompulsoryRenewServiceSoapBinding" type="intf:CompulsoryRenewService">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getCompulsoryRenewData">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getCompulsoryRenewDataRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getCompulsoryRenewDataResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="FatalException">
<wsdlsoap:fault name="FatalException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CompulsoryRenewServiceService">
<wsdl:port name="CompulsoryRenewService" binding="intf:CompulsoryRenewServiceSoapBinding">
<wsdlsoap:address location="http://mguxp70:9064/ElementarSOA/services/CompulsoryRenewService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
if any one know what is missing, or to add something to the WSDL in order to load it and see the method will be much of an help.
Thank you very much for your help
Kfir
Normally it is the length of the WSDL namespace which causes such an issue....confirm that the namespace length is less than 60 characters....for more info refer: https://service.sap.com/sap/support/notes/901988
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there were a problem with the WSDL name space
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your help.
It was as you said the length of the namespace
Kfir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can I load the WSDL?
when I load it is empty and does not load (probably to much characters)
Edited by: kfir goldwasser on Jan 14, 2010 11:47 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when I load it is empty and does not load (probably to much characters)
delete some of the characters from the namespace and bring the length to below 60 characters.......this wont harm the message processing.....just make a count of the characters which are originally present in the WSDL's namespace.
I hope the format of the WSDL is proper.....is it opening properly in some tool (or even in IE)?
Hi Kfir,
I was able to load your wsdl file and can see three messages (FatalException,getCompulsaryRenewDateRequest, getCompulsaryRenewDateResponse)
I will suggest you to do like this:
1. Open your wsdl in a notepad
2. Find for namespace http://compulsoryRenewService.services.elementar.migdal.co.il (namespace length = 61 characters)
3. Replace with http://compulsoryRenewService.services.elementar.migdal.co (new length = 8 character)
4. Save and try to import as a wsdl in external definitions. Keep option of Messages as "From all Available Message Definitions"
Regards
Suraj
Hi Kfir,
>>I am trying to load the WSDL to the XI
Hope you have imported it using External Definition -> wsdl option of PI. If yes then you shoudl have seen the Messages. Else try to paste the wsdl here and let me try
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.