ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WSDL file containing ref type could not be imported

Post new topic  Reply to topic
 WSDL file containing ref type could not be imported « View previous topic :: View next topic » 
Author Message
iib10ws
PostPosted: Thu Oct 20, 2016 4:35 am    Post subject: WSDL file containing ref type could not be imported Reply with quote

Newbie

Joined: 08 Jun 2016
Posts: 6

Hi,

I am not able to import the shown WSDL document into iib 10 Message model using the option I already have WSDL.

It is erroring out cannot resolve the element address.

If I normalizewithout any ref types then I can import the WSDL.

Do we know whether IIB support the ref types ?
If so how do we get it to import ? what do I need to do ....

Any help is much appreciated

Thanks

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
name="address"
targetNamespace="http://www.insurance.com/address/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.insurance.com/address/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://www.w3.org/2005/08/addressing/none">

<wsdl:types>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://www.insurance.com/address/">
<xsd:element name="addressData">


<xsd:complexType>
<xsd:sequence>
<xsd:element ref="address" minOccurs='1' maxOccurs='unbounded'/>
</xsd:sequence>
</xsd:complexType>


<xsd:element name="address">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Type" minOccurs='0' maxOccurs='1'/>
<xsd:element ref="AddressLine1" minOccurs='0' maxOccurs='1'/>
<xsd:element ref="AddressLine2" minOccurs='0' maxOccurs='1'/>
<xsd:element ref="AddressLine3" minOccurs='0' maxOccurs='1'/>
<xsd:element ref="AddressLine4" minOccurs='0' maxOccurs='1'/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

<xsd:element name="Type" type='xsd:string'/>
<xsd:element name="AddressLine1" type='xsd:string'/>
<xsd:element name="AddressLine2" type='xsd:string'/>
<xsd:element name="AddressLine3" type='xsd:string'/>
<xsd:element name="AddressLine4" type='xsd:string'/>


</xsd:element>
</xsd:schema>

</wsdl:types>

<wsdl:message name="addressRequest">
<wsdl:part element="tns:addressData" name="parameters"/>
</wsdl:message>

<wsdl:portType name="SendMessage">
<wsdl:operation name="addressData">
<wsdl:input name="addressRequest" message="tns:addressRequest"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="addressSOAP" type="tns:SendMessage">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="addressData">
<soap:operation soapAction="http://www.insurance.com/address/addressData"/>
<wsdl:input name="addressRequest">
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>

<wsdl:service name="SendMessage">
<wsdl:port binding="tns:addressSOAP" name="addressSOAP">
<soap:address location="http://www.insurance.com/"/>
</wsdl:port>
</wsdl:service>

</wsdl:definitions>
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 20, 2016 4:57 am    Post subject: Re: WSDL file containing ref type could not be imported Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

iib10ws wrote:
Do we know whether IIB support the ref types ?


I don't.

I bet the Knowledge Center does.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
timber
PostPosted: Thu Oct 20, 2016 6:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
If I normalize without any ref types then I can import the WSDL.
I do not see any types called 'ref' in that WSDL. I assume you are talking about this line:
Code:
<xsd:element ref="address" minOccurs='1' maxOccurs='unbounded'/>


That is an element reference to a global element with name 'address' and namespace '' (the empty string). Is that what you intended when you created this WSDL?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WSDL file containing ref type could not be imported
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.