element_form_default not working

32 views
Skip to first unread message

Jose Ernesto Suarez Font

unread,
Nov 10, 2014, 8:36:28 AM11/10/14
to sav...@googlegroups.com
Hi there,

I´m trying to consume a .net webservice defined by  "http://www.valenciaportpcs.net/portcalls/WebServices/Public?wsdl" or "...?singleWsdl" but I have a problem with the namespaces.
The method :get_vessel_port_call_info must work on :unqualified namespace, but I trying to say to Savon without results.The SOAPUI call working is

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <GetVesselPortCallInfo>
         <portCallNumber>1201405502</portCallNumber>
      </GetVesselPortCallInfo>
   </soapenv:Body>
</soapenv:Envelope>

And the Savon call is

<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://tempuri.org/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <wsdl:GetVesselPortCallInfo>
      <portCallNumber>1201405502</portCallNumber>
    </wsdl:GetVesselPortCallInfo>
  </soapenv:Body>
</soapenv:Envelope>

Whats the correct way to remove the "wsdl:" namespace from the method name tag?


Steffen Roller

unread,
Nov 10, 2014, 9:16:45 AM11/10/14
to sav...@googlegroups.com
You can code the call explicitely with

...
rc = client.call(:GetVesselPortCallInfo,
                 soap_action: "GetVesselPortCallInfo",
                 ...
                 )
...



--
You received this message because you are subscribed to the Google Groups "Savon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to savonrb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages