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 error

Post new topic  Reply to topic
 WSDL error « View previous topic :: View next topic » 
Author Message
ghoshly
PostPosted: Thu Mar 14, 2013 5:55 am    Post subject: WSDL error Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Hi ,

I am facing a error while building a wsdl file from xsds which we need to expose as a web service.

Error below.

Code:
WSDL: A SOAP address cannot be specified here as the ESB_Invoice_SOAP12Binding binding that the ESB_InvoiceSOAP12Port port refers to does not have a SOAP binding element defined. There must be a SOAP binding element defined in order to specify a SOAP address for a binding.    ESB_Invoice.wsdl   MFP_ESB_POC   line 73   WSDL Problem



However I can see the binding definition present just above.

Code:
 <wsdl:binding name="ESB_Invoice_SOAP12Binding"     type="tns:ESB_Invoice_PortType">
     <soap12:binding style="document"   transport="http://schemas.xmlsoap.org/soap/http" />
     <wsdl:operation name="PostInvoice">
        <soap12:operation   soapAction="http://www.sodexo.com/ESB/Invoice/PostInvoice" />
        <wsdl:input>
           <soap12:body use="literal" />
        </wsdl:input>
        <wsdl:output>
           <soap12:body use="literal" />
        </wsdl:output>
     </wsdl:operation>
  </wsdl:binding>
 
  <wsdl:service name="ESB_Invoice_Interface">

      <wsdl:port binding="tns:ESB_Invoice_SOAP11Binding" name="ESB_Invoice_SOAP11Port">
   
           <soap:address location="http://10.195.17.134:9080/esb/services/PostInvoiceInterface" />
    </wsdl:port>
 
    <wsdl:port binding="tns:ESB_Invoice_SOAP12Binding" name="ESB_InvoiceSOAP12Port">

          <soap12:address location="http://10.195.17.134:9080/esb/services/PostInvoiceInterface"/>
    </wsdl:port>
  </wsdl:service>


It would have been helpful if I could update those files.
Thanks in advance for help
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Mar 14, 2013 6:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

https://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac55770_.htm

SOAP 1.2 is more complex than SOAP 1.1.

What is your requirement to use SOAP 1.2?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
ghoshly
PostPosted: Thu Mar 14, 2013 6:14 am    Post subject: SOAP 1.1 or SOAP 1.2 Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Actually these services are consumed by multiple reciepient / consumers and diff application uses different.

I accept, I do not have much knowledge on the differences between these two versions.


I'll try first removing SOAP 1.2 binding completely
Back to top
View user's profile Send private message
ghoshly
PostPosted: Thu Mar 14, 2013 6:59 am    Post subject: Refreshing error? Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

I have just recreated the wsdl with both the binding and this time, I am not seeing the error in wsdl file.

May be because of refreshing issue?

Though I had performed Cleann as well as Close / Open project.

After I have created mxsd from the wsdl definition using both the versions, I see the error below.

Code:
Description   Resource   Path   Location   Type
Recursive element definition 'Subcode' is not permitted in TDS physical format 'Text1' and this element is used by the message(s): 'Envelope, Fault'. Remove the recursion, or the layer.   soapenv12.mxsd   MSP_TMC_ESB_Invoice_IN/TMC_ESB_Invoice_IN/org/w3/www/_2003/_05/soapenvelope   line 128   Message Set Problem


Should we use either SOAP 1.1 or SOAP1.2 in a message set?
Is there any advantage / disadvantage between SOAP versions?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Mar 14, 2013 7:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

If you are sure that the XSD/WSDL is a good one, you could try deleting the old message set and creating a new one. What WMB version are you on? If you are on V8, you probably should not use message set at all.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
ghoshly
PostPosted: Fri Mar 15, 2013 12:03 am    Post subject: I understand Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

I understand, in MB 8 we should use DFDL, but I am in MB 7.


I am creating mxsd from wsdl and it is validating without any error. I could see in a different message set that both SOAP 1.1 and SOAP1.2 envelope co-exist.

I'll try to recreate the mxsds or debug this one.

Thanks for responding...
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 error
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.