Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 1.2.6
-
Fix Version/s: None
-
Component/s: XMLBeans
-
Labels:None
-
Environment:Windows XP, Java 1.5
-
Number of attachments :
Description
Trying to generate client code using xmlbeans and xfire.
I tried to follow the instructions provided -
http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL
http://docs.codehaus.org/display/XFIRE/XMLBeans+Client+Generation
I'm really not sure if I'm doing this correctly. I construct the request and I'm trying to send it over and invoke the service
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: java.lang.RuntimeException: Unexpected subelement request.
Prior to going into the interface.method(response) call
One thing I noticed is the request is surrounded by
<xml-fragment xmlns:ws="http://ws.test.com">
......
</xml-fragment>
instead of the correct method call....
Also will the binding type have any effect on it soap11 vs Axis2 (soap12)?
Please help! Am I doing this correctly?