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 <mailto:[hidden email]> [hidden email] <mailto:[hidden email]> [hidden email] Office: 516.742.7888 ext. 225 Office: 732.333.4303 |
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 > > > > <mailto:[hidden email]> [hidden email] > > <mailto:[hidden email]> [hidden email] > > > > Office: 516.742.7888 ext. 225 > > Office: 732.333.4303 > > > > > > > |
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 >> >> >> <mailto:[hidden email]> [hidden email] >> >> <mailto:[hidden email]> [hidden email] >> >> >> >> Office: 516.742.7888 ext. 225 >> >> Office: 732.333.4303 >> >> >> >> >> >> >> > |
Free forum by Nabble | Edit this page |