on 11-20-2006 3:57 PM
Hi All,
I am trying to call a WS on WAS 6.4 from the XI.
Following the weblog
I merged the 3 files and imported it as an external def.
Can anyone tell what's wrong? It works perfectly in XMLSpy.
The Merged WSDL:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="urn:WS_VisaApplicantHandler_Vi" xmlns:tns="urn:WS_VisaApplicantHandler_Wsd/WS_VisaApplicantHandler_Vi/document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns="urn:com.blaze2crm" xmlns:ns1="urn:java/lang" xmlns:ns2="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:WS_VisaApplicantHandler_Wsd/WS_VisaApplicantHandler_Vi/document">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:java/lang" xmlns:tns="urn:java/lang" elementFormDefault="qualified">
<xs:complexType name="ArrayOfString">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="String" type="xs:string" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:com.blaze2crm" xmlns:tns="urn:com.blaze2crm" elementFormDefault="qualified" xmlns:s0="urn:java/lang">
<xs:import namespace="urn:java/lang"/>
<xs:complexType name="VisaApplicantResponse">
<xs:sequence>
<xs:element name="isOk" type="xs:string" nillable="true" minOccurs="0"/>
<xs:element name="positionCodeToDecide" type="s0:ArrayOfString" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="VisaApplicant">
<xs:sequence>
<xs:element name="bPId" type="xs:string" nillable="true" minOccurs="0"/>
<xs:element name="isOk" type="xs:string" nillable="true" minOccurs="0"/>
<xs:element name="positionCodeToDecide" type="s0:ArrayOfString" nillable="true" minOccurs="0"/>
<xs:element name="reason" type="xs:string" nillable="true" minOccurs="0"/>
<xs:element name="zBIRTH" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="zHCHLALA" type="xs:string" nillable="true" minOccurs="0"/>
<xs:element name="zKARAM" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="zLATEINDICATION" type="xs:string" nillable="true" minOccurs="0"/>
<xs:element name="zemMATAK" type="xs:string" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:WS_VisaApplicantHandler_Vi" xmlns:tns="urn:WS_VisaApplicantHandler_Vi" elementFormDefault="qualified" xmlns:s1="urn:java/lang" xmlns:s0="urn:com.blaze2crm">
<xs:import namespace="urn:java/lang"/>
<xs:import namespace="urn:com.blaze2crm"/>
<xs:element name="getVisaApprovalResultByVisaApplicant">
<xs:complexType>
<xs:sequence>
<xs:element name="visaApplicant" type="s0:VisaApplicant" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getVisaApprovalResultByVisaApplicantResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="Response" type="s0:VisaApplicant" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getVisaApprovalResult">
<xs:complexType>
<xs:sequence>
<xs:element name="BPId" type="xs:string" nillable="true"/>
<xs:element name="zemMATAK" type="xs:string" nillable="true"/>
<xs:element name="ZHCHLALA" type="xs:string" nillable="true"/>
<xs:element name="ZKARAM" type="xs:dateTime" nillable="true"/>
<xs:element name="ZLATEINDICATION" type="xs:string" nillable="true"/>
<xs:element name="ZBIRTH" type="xs:dateTime" nillable="true"/>
<xs:element name="positionCodeToDecide" type="s1:ArrayOfString" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getVisaApprovalResultResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="Response" type="s0:VisaApplicantResponse" nillable="true"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="getVisaApprovalResultByVisaApplicantIn_doc">
<wsdl:part name="parameters" element="ns0:getVisaApprovalResultByVisaApplicant"/>
</wsdl:message>
<wsdl:message name="getVisaApprovalResultByVisaApplicantOut_doc">
<wsdl:part name="parameters" element="ns0:getVisaApprovalResultByVisaApplicantResponse"/>
</wsdl:message>
<wsdl:message name="getVisaApprovalResultIn_doc">
<wsdl:part name="parameters" element="ns0:getVisaApprovalResult"/>
</wsdl:message>
<wsdl:message name="getVisaApprovalResultOut_doc">
<wsdl:part name="parameters" element="ns0:getVisaApprovalResultResponse"/>
</wsdl:message>
<wsdl:portType name="WS_VisaApplicantHandler_Vi_Document">
<wsdl:operation name="getVisaApprovalResultByVisaApplicant">
<wsdl:input message="tns:getVisaApprovalResultByVisaApplicantIn_doc"/>
<wsdl:output message="tns:getVisaApprovalResultByVisaApplicantOut_doc"/>
</wsdl:operation>
<wsdl:operation name="getVisaApprovalResult">
<wsdl:input message="tns:getVisaApprovalResultIn_doc"/>
<wsdl:output message="tns:getVisaApprovalResultOut_doc"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Config1Binding" type="tns:WS_VisaApplicantHandler_Vi_Document">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getVisaApprovalResultByVisaApplicant">
<soap:operation/>
<wsdl:input>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getVisaApprovalResult">
<soap:operation/>
<wsdl:input>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WS_VisaApplicantHandler">
<wsdl:port name="Config1Port_Document" binding="tns:Config1Binding">
<soap:address location="http://sapbc016:50200/WS_VisaApplicantHandler/Config1?style=document"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bdee46d-0901-0010-7a9a-b3595d441fbf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bdee46d-0901-0010-7a9a-b3595d441fbf</a>
The problem is that the WSDL does not show the messages after importing it as an external def.
I also tried the other approach of importing the three files with external ref.
The same thing, I cannot get the messages of the WS.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ranny
Perhaps start with explaining wath the problem is that your are experiencing with the merged WSDL file and at what stage of the blog ?
rgds
Dirk
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 | |
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.