Hello,

I have read the chinthaka's post  "How Apache Axis2 Finds the Operation and 
Service a Message is Destined To" .

But I still have any questions.

I must develop a web service that can be able to receive requests from a given 
client. (I can't change the client side)
Here is the beginning of the request sent by the soap client:
POST / HTTP/1.1                   /* Note : there is no servicePath here */
Host: localhost:9030
User-Agent: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 2038
Connection: keep-alive
SOAPAction: ""
X-Forwarded-For: 127.0.0.1


For the soap server, I set the following lines in my "axis2.xml" in order to 
have a server on  "http://localhost:9030/";
                <parameter name="contextRoot">/</parameter>
                <parameter name="servicePath"></parameter>

I have the error:
java.lang.IllegalArgumentException: service path cannot be null or empty
        at 
org.apache.axis2.context.ConfigurationContext.internalGetServiceContextPath(ConfigurationContext.java:856)

Can you help me please ?
Thanks a lot.

Fabrice.



Reply via email to