Hi Chris,

I follow the steps in that document but I receive an error. I only made the
following change in the step 4 (Create your axis client): opts.setTo(new
EndpointReference("http://localhost:8080/webtools/control/SOAPService";));
The rest is all the same.

The error that I receive is this:

Exception in thread "main" org.apache.axis2.AxisFault:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:118)
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:539)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
        at
org.ofbiz.test.notifyJobFinishedClient.main(notifyJobFinishedClient.java:61)


I read that your document is only relevant to release r892712+. I don't know
which is my release. Could be the problem related to the release? Do you
know why I am receiving this error?

Thanks in advance,
Mario.




Chris Snow-2 wrote:
> 
> if you want to have an axis2 service running in ofbiz, this may help: 
> http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=9798255
> 
> MarioF wrote:
>> Hi all,
>>
>> I need that OFBIZ can manage some Axis2 services. In one of them ofbiz
>> has
>> to change the statusId of some orderId. I have made this change in java
>> code, but I am not sure how to make an axis2 service.
>>
>> I think that I have to do the following:
>>
>> - Make a service in service.xml with export="true" and
>> location="the.java.package"
>> - Run always this service in ofbiz. (Applications --> Webtools --> Run
>> Service).
>>
>> Is that true? Have I to make something more?
>>
>> Thanks in advance,
>> Mario.
>>   
> 
> 
> 

-- 
View this message in context: 
http://n4.nabble.com/Axis2-service-in-OFBIZ-tp1017558p1311416.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to