cancel
Showing results for 
Search instead for 
Did you mean: 

importing wsdl and message interfaces for complex types

Former Member
0 Kudos

I have following wsdl generated from weblogic. I tried to import wsdl into XI and did it. I have a method that takes an array of complex type objects in wsdl. When I tried to create message interface, I could not see 2 things.

complexstructure of ArrayOfCmaWSHelper

also occurences 1...n because of array.

Has any one come across this issue?

WSDL is as follows.

<?xml version="1.0" encoding="UTF-8"?>

<definitions xmlns:tns="http://192.168.244.109"

xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"

xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"

xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"

xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:s="http://www.w3.org/2001/XMLSchema"

xmlns="http://schemas.xmlsoap.org/wsdl/"

targetNamespace="http://192.168.244.109">

<types>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:stns="java:facilitymanagement.helper"

elementFormDefault="qualified"

attributeFormDefault="qualified"

targetNamespace="java:facilitymanagement.helper">

<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/">

</xsd:import>

<xsd:complexType name="ArrayOfComment">

<xsd:complexContent>

<xsd:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

base="soapenc:Array">

<xsd:attribute xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

ref="soapenc:arrayType"

wsdl:arrayType="stns:Comment[]">

</xsd:attribute>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<xsd:complexType name="ArrayOfFacility">

<xsd:complexContent>

<xsd:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

base="soapenc:Array">

<xsd:attribute xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

ref="soapenc:arrayType"

wsdl:arrayType="stns:Facility[]">

</xsd:attribute>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<xsd:complexType name="ArrayOfFacilityShallow">

<xsd:complexContent>

<xsd:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

base="soapenc:Array">

<xsd:attribute xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

ref="soapenc:arrayType"

wsdl:arrayType="stns:FacilityShallow[]">

</xsd:attribute>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<xsd:complexType name="ArrayOfRoom">

<xsd:complexContent>

<xsd:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

base="soapenc:Array">

<xsd:attribute xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

ref="soapenc:arrayType"

wsdl:arrayType="stns:Room[]">

</xsd:attribute>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<xsd:complexType name="Comment">

<xsd:sequence>

<xsd:element type="xsd:string"

name="cmmt"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:long"

name="cmmtKey"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="createDate"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:long"

name="facilityKey"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="userFullName"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="userId"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="Error">

<xsd:sequence>

<xsd:element type="xsd:string"

name="error"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:boolean"

name="hasError"

minOccurs="1"

maxOccurs="1">

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="Facility">

<xsd:sequence>

<xsd:element type="xsd:string"

name="activeInd"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="addr1"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="addr2"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="cityCd"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="cityName"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="countryCd"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="countryName"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="deactivateDt"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="descr"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:double"

name="facilityFee"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="facilityFeePercent"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="facilityKey"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="fax"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="phone"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="stateCd"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="stateName"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="userId"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="webAddr"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="zip"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="stns:Error"

name="error"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="FacilityShallow">

<xsd:sequence>

<xsd:element type="stns:Error"

name="error"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="Room">

<xsd:sequence>

<xsd:element type="xsd:string"

name="activeInd"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:long"

name="ceilingHeight"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="descr"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="facilityKey"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="floorLoad"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:long"

name="length"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:long"

name="max10x10"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:long"

name="max8x10"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="roomKey"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="userId"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:long"

name="width"

minOccurs="1"

maxOccurs="1">

</xsd:element>

<xsd:element type="stns:Error"

name="error"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="SearchParams">

<xsd:sequence>

<xsd:element type="xsd:string"

name="facilityDescr"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

<xsd:element type="xsd:string"

name="location"

minOccurs="1"

nillable="true"

maxOccurs="1">

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

</types>

<message name="getAllComments">

</message>

<message name="getAllCommentsResponse">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:ArrayOfComment"

name="result">

</part>

</message>

<message name="getAllFacilities">

</message>

<message name="getAllFacilitiesResponse">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:ArrayOfFacility"

name="result">

</part>

</message>

<message name="getModifiedFacilities">

<part xmlns:partns="http://www.w3.org/2001/XMLSchema"

type="partns:string"

name="string">

</part>

</message>

<message name="getModifiedFacilitiesResponse">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:ArrayOfFacility"

name="result">

</part>

</message>

<message name="searchFacility">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:SearchParams"

name="searchParams">

</part>

</message>

<message name="searchFacilityResponse">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:ArrayOfFacilityShallow"

name="result">

</part>

</message>

<message name="getAllRooms">

</message>

<message name="getAllRoomsResponse">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:ArrayOfRoom"

name="result">

</part>

</message>

<message name="getFacilityRooms">

<part xmlns:partns="http://www.w3.org/2001/XMLSchema"

type="partns:string"

name="string">

</part>

</message>

<message name="getFacilityRoomsResponse">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:ArrayOfRoom"

name="result">

</part>

</message>

<message name="getRoomsByFacilityName">

<part xmlns:partns="http://www.w3.org/2001/XMLSchema"

type="partns:string"

name="string">

</part>

</message>

<message name="getRoomsByFacilityNameResponse">

<part xmlns:partns="java:facilitymanagement.helper"

type="partns:ArrayOfRoom"

name="result">

</part>

</message>

<portType name="FacilityManagementWSPort">

<operation name="getAllComments">

<input message="tns:getAllComments">

</input>

<output message="tns:getAllCommentsResponse">

</output>

</operation>

<operation name="getAllFacilities">

<input message="tns:getAllFacilities">

</input>

<output message="tns:getAllFacilitiesResponse">

</output>

</operation>

<operation name="getModifiedFacilities">

<input message="tns:getModifiedFacilities">

</input>

<output message="tns:getModifiedFacilitiesResponse">

</output>

</operation>

<operation name="searchFacility">

<input message="tns:searchFacility">

</input>

<output message="tns:searchFacilityResponse">

</output>

</operation>

<operation name="getAllRooms">

<input message="tns:getAllRooms">

</input>

<output message="tns:getAllRoomsResponse">

</output>

</operation>

<operation name="getFacilityRooms">

<input message="tns:getFacilityRooms">

</input>

<output message="tns:getFacilityRoomsResponse">

</output>

</operation>

<operation name="getRoomsByFacilityName">

<input message="tns:getRoomsByFacilityName">

</input>

<output message="tns:getRoomsByFacilityNameResponse">

</output>

</operation>

</portType>

<binding type="tns:FacilityManagementWSPort"

name="FacilityManagementWSPort">

<soap:binding style="rpc"

transport="http://schemas.xmlsoap.org/soap/http">

</soap:binding>

<operation name="getAllComments">

<soap:operation style="rpc"

soapAction="">

</soap:operation>

<input>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</input>

<output>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</output>

</operation>

<operation name="getAllFacilities">

<soap:operation style="rpc"

soapAction="">

</soap:operation>

<input>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</input>

<output>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</output>

</operation>

<operation name="getModifiedFacilities">

<soap:operation style="rpc"

soapAction="">

</soap:operation>

<input>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</input>

<output>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</output>

</operation>

<operation name="searchFacility">

<soap:operation style="rpc"

soapAction="">

</soap:operation>

<input>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</input>

<output>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</output>

</operation>

<operation name="getAllRooms">

<soap:operation style="rpc"

soapAction="">

</soap:operation>

<input>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</input>

<output>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</output>

</operation>

<operation name="getFacilityRooms">

<soap:operation style="rpc"

soapAction="">

</soap:operation>

<input>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</input>

<output>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</output>

</operation>

<operation name="getRoomsByFacilityName">

<soap:operation style="rpc"

soapAction="">

</soap:operation>

<input>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</input>

<output>

<soap:body namespace="http://192.168.244.109"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

use="encoded">

</soap:body>

</output>

</operation>

</binding>

<service name="FacilityManagementWS">

<port name="FacilityManagementWSPort"

binding="tns:FacilityManagementWSPort">

<soap:address location="http://tfcws1:7001/facilityws/FacilityManagementService">

</soap:address>

</port>

</service>

</definitions>

Accepted Solutions (1)

Accepted Solutions (1)

cdumont69
Contributor
0 Kudos

Hello,

Sorry but I am not sure to understand your problem.

The complexstructure of ArrayOfCmaWSHelper doesn't exist in your WSDL.

Is it your issues or perhaps you forgot something ?

Regards

Chris

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Balaji,

Check if all WSDL elements are supported. Go to http://service.sap.com and search for a document called XSDandWSDL_XI30SP11.xls This doc has the supported XML schema and WSDL elements.

I hope it helps,

Ricardo.