You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Len <ls...@salmonllc.com> on 2010/03/08 19:40:43 UTC
Calling Ofbiz SOAP service
I am using the following client XML to call the getOrderStatus service as a
SOAP service. The Ofbiz getOrderStatus service takes in a string ordered
param and returns a string statusId.
The response packet contains only a '\r\n' in the body;
Does anyone have any experience on the calling client side?
<soapenv:Envelope
xmlns:soapenv= <http://schemas.xmlsoap.org/soap/envelope/>
"http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser=
<http://ecomstaging.purityapps.com/webtools/control/SOAPService/> "
http://localhost/webtools/control/SOAPService/
<http://localhost/webtools/control/SOAPService/%22> ">
<soapenv:Header/>
<soapenv:Body>
<ser:getOrderStatus>
<map-Map>
<map-Entry>
<map-Key>
<std-String value="orderId"/>
</map-Key>
<map-Value>
<std-String value="1234"/>
</map-Value>
</map-Entry>
</map-Map>
</ser:getOrderStatus>
</soapenv:Body>
</soapenv:Envelope>
Thank You
Len Shein
<ma...@salmonllc.com> LShein@salmonllc.com
<ma...@verizon.net> LShein@verizon.net
Office: 516.742.7888 ext. 225
Office: 732.333.4303
Re: Calling Ofbiz SOAP service
Posted by Christopher Snow <sn...@snowconsulting.co.uk>.
I had quite a few problems with the SOAP implementation.
I did manage to get working with an axis client using AXIOM:
http://cwiki.apache.org/confluence/x/b4KV
>> I am using the following client XML to call the getOrderStatus
>> service as a
>> SOAP service. The Ofbiz getOrderStatus service takes in a string
>> ordered
>> param and returns a string statusId.
>>
>> The response packet contains only a '\r\n' in the body;
>>
>> Does anyone have any experience on the calling client side?
>>
>>
>> <soapenv:Envelope
>> xmlns:soapenv= <http://schemas.xmlsoap.org/soap/envelope/>
>> "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser=
>> <http://ecomstaging.purityapps.com/webtools/control/SOAPService/> "
>> http://localhost/webtools/control/SOAPService/
>> <http://localhost/webtools/control/SOAPService/%22> ">
>> <soapenv:Header/>
>> <soapenv:Body>
>> <ser:getOrderStatus>
>> <map-Map>
>> <map-Entry>
>> <map-Key>
>> <std-String value="orderId"/>
>> </map-Key>
>> <map-Value>
>> <std-String value="1234"/>
>> </map-Value>
>> </map-Entry>
>> </map-Map>
>> </ser:getOrderStatus>
>> </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>>
>>
>>
>> Thank You
>>
>>
>> Len Shein
>>
>>
>> <ma...@salmonllc.com> LShein@salmonllc.com
>>
>> <ma...@verizon.net> LShein@verizon.net
>>
>>
>>
>> Office: 516.742.7888 ext. 225
>>
>> Office: 732.333.4303
>>
>>
>>
>>
>>
>>
>>
>
Re: Calling Ofbiz SOAP service
Posted by Bilgin Ibryam <bi...@gmail.com>.
Hi Len,
I tried with soapUI (a very good web service client) and it worked
correct. Here is the soap request I used
Bilgin
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://ofbiz.apache.org/service/">
<soapenv:Header/>
<soapenv:Body>
<ser:getOrderStatus>
<map-Map>
<ser:map-Entry>
<ser:map-Key>
<ser:std-String value="orderId"/>
</ser:map-Key>
<ser:map-Value>
<ser:std-String value="DEMO_B2B_IT02"/>
</ser:map-Value>
</ser:map-Entry>
</map-Map>
</ser:getOrderStatus>
</soapenv:Body>
</soapenv:Envelope>
> I am using the following client XML to call the getOrderStatus service as a
> SOAP service. The Ofbiz getOrderStatus service takes in a string ordered
> param and returns a string statusId.
>
> The response packet contains only a '\r\n' in the body;
>
> Does anyone have any experience on the calling client side?
>
>
>
> <soapenv:Envelope
> xmlns:soapenv= <http://schemas.xmlsoap.org/soap/envelope/>
> "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser=
> <http://ecomstaging.purityapps.com/webtools/control/SOAPService/> "
> http://localhost/webtools/control/SOAPService/
> <http://localhost/webtools/control/SOAPService/%22> ">
> <soapenv:Header/>
> <soapenv:Body>
> <ser:getOrderStatus>
> <map-Map>
> <map-Entry>
> <map-Key>
> <std-String value="orderId"/>
> </map-Key>
> <map-Value>
> <std-String value="1234"/>
> </map-Value>
> </map-Entry>
> </map-Map>
> </ser:getOrderStatus>
> </soapenv:Body>
> </soapenv:Envelope>
>
>
>
>
>
> Thank You
>
>
>
> Len Shein
>
>
>
> <ma...@salmonllc.com> LShein@salmonllc.com
>
> <ma...@verizon.net> LShein@verizon.net
>
>
>
> Office: 516.742.7888 ext. 225
>
> Office: 732.333.4303
>
>
>
>
>
>
>