Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem in Developer Console when generating .JS file for given WSDL url.

    Hi,
    I defined two different operations in two different containers in WSDL file. I am trying to generate .JS file from the WSDL url. But the Developer console only recognizing the last container in the WSDL. Please help me in this regard and please find the below defined container statements in the WSDL .

    Code:
    - <wsdl:service name="ExampleContainer1">
    - <wsdl:port name="samplePort" binding="HDR1:SampleMasterSoap">
      <soap:address location="http://server1:5555/soap/default" /> 
      </wsdl:port>
    - <wsdl:port name="samplePort2" binding="HDR1:SampleMasterSoap">
      <soap:address location="http://server2:5555/soap/default" /> 
      </wsdl:port>
      </wsdl:service>
    - <wsdl:service name="ExampleContainer2">
    - <wsdl:port name="samplePort" binding="HDR1:SampleMasterStringSoap">
      <soap:address location="http://server1:5555/soap/default" /> 
      </wsdl:port>
    - <wsdl:port name="samplePort2" binding="HDR1:SampleMasterStringSoap">
      <soap:address location="http://server2:5555/soap/default" /> 
      </wsdl:port>
      </wsdl:service>
    it should suppose to generate like below
    --------------------------------------
    Code:
     operations:[{inputEncoding:"literal", inputParts:"parameters", outputEncoding:"literal",
             outputParts:"parameters",soapStyle:"document",
             inputMessage:"SampleMasterPorttype_getListSample",
             outputMessage:"SampleMasterPorttype_listSampleResponse",
             name:"getListSample",soapAction:"getListSample"},
             {inputEncoding:"literal", inputParts:"parameters", outputEncoding:"literal", 
             outputParts:"parameters",soapStyle:"document",   
             inputMessage:"SampleMasterStringPorttype_getListSampleStringDoc",
             outputMessage:"SampleMasterStringPorttype_getListSampleStringDocResponse", 
             name:"getListSampleStringDoc",soapAction:"getListSampleStringDoc"}]
    but it was coming in the .JS file only one operation.
    -------------------------------------------------
    Code:
    operations:[{inputEncoding:"literal", inputParts:"parameters", outputEncoding:"literal", 
             outputParts:"parameters",soapStyle:"document",   
             inputMessage:"SampleMasterStringPorttype_getListSampleStringDoc",
             outputMessage:"SampleMasterStringPorttype_getListSampleStringDocResponse", 
             name:"getListSampleStringDoc",soapAction:"getListSampleStringDoc"}]
    Last edited by kskishorekumar; 17 Nov 2008, 12:46.

    #2
    To handle this, break the file into two parts, obtain JavaScript service definitions for each and load both.

    Comment

    Working...
    X