[
http://jira.codehaus.org/browse/XFIRE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95270
]
ashutosh kumar commented on XFIRE-980:
--------------------------------------
I am adding further info to this :
I have a WS which runs with AXIS 1.2.1. In WSDL the method which I am invoking
is a void method . If I invoke this method thro' xFire client i get an
Exception!!!
Thats because Axis 1.2 send me not an empty SoapBody. The answer from Axis
looks like:
<soap:Envelope>
<soap:Body>
<dealComplianceStatusRequestsResponse/> --> methodName
with Response which is HardCoded in Axis 1.2
</soap:Body>
</soap:Envelope>
And the Client from xfire expects the following Response:
<soap:Envelope>
<soap:Body>
</soap:Body>
</soap:Envelope>
How can i solve this Problem? Excpetion is being thrown
org.codehaus.xfire.service.binding.AbstractBinding class, read method.
> org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested
> exception is org.codehaus.xfire.fault.XFireFault: Index: 0, Size: 0
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: XFIRE-980
> URL: http://jira.codehaus.org/browse/XFIRE-980
> Project: XFire
> Issue Type: Bug
> Affects Versions: 1.2.6
> Environment: Windows XP, XFire 1.2.6
> Reporter: ashutosh kumar
> Assignee: Dan Diephouse
> Priority: Critical
>
> I have generated the stubs thro' WSGen utility and I am using static XFire
> client.I have written client code to access web service. This client workks
> fine in case of retrieval methods ie when I am reading the data from web
> service it works fine.
> But as soon as I try to send some data to web service then I am getting this
> error. I have tried with various client settings/Style inluding wrapped but
> it doesn't work.
> Any help/inputs will be deeply appreciated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email