Login  Register

Re: AW: AW: [OFBiz] Users - SOAP service call

Posted by Peter Goron on Jul 27, 2005; 1:40pm
URL: http://ofbiz.116.s1.nabble.com/AW-AW-OFBiz-Users-SOAP-service-call-tp135288p135289.html

Hi Giorgi,

Your service definitions seem to be correct but I've never tried to call
a webservice from ofbiz.

Does the ofbiz log file contain some errors or warnings ?

You can also try to a call an external webservice from ofbiz (e.g.
google) to check if the problem comes from the client or server part of
ofbiz soap implementation.


Peter

> Hi, Peter.
>
> Many thanks for your answers. They are extremely useful, believe me!
> So, with outgoing soap is now OK.
> I finally found the problem. I mean, I see now at least following:
>
> If I call my service, I mean, "soapHello", I get
>
> ************************************************************************
> *** Incoming SOAP ******************************************************
> Requested service not available
> ************************************************************************
>
> But if I call some "soapHelloGoodByeDontComeBack"(which doesn't exist at all) I'm getting
>
> ************************************************************************
> *** Incoming SOAP ******************************************************
> Problem processing the service
> ************************************************************************
>
> Here is a services.xml part:
>
> <service name="hello" default-entity-name="Product"
> engine="java" location="de.kw.tech_tools.TechToolServices"
> invoke="hello" export="true">
> <description>
> Service for testing java services in Ofbiz
> </description>
> <attribute name="userName" type="String" mode="IN"
> optional="true">
> </attribute>
> <attribute name="message" type="String" mode="OUT"
> optional="true">
> </attribute>
> </service>
>
> <service name="soapHello" engine="soap"
> location="http://localhost:22080/webtools/control/SOAPService"
> invoke="hello" auth="false" export="false">
> <description>
> SOAP service;
> </description>
> <!-- <namespace>http://localhost:22080/</namespace>-->
> <namespace>http://www.ofbiz.org/service/</namespace>
> <attribute name="userName" type="String" mode="IN"
> optional="true">
> </attribute>
> <attribute name="message" type="String" mode="OUT"
> optional="true">
> </attribute>
> </service>
>
> What is important, that "hello" service itself is called without problems by dispatcher.runSync("hello"...).
>
> Does it need any additional configuration?
>
> Thank you in advance,
>
> Giorgi
>
>


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users