[ 
http://jira.codehaus.org/browse/XFIRE-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129371#action_129371
 ] 

Lokajit Tikayatray commented on XFIRE-1091:
-------------------------------------------

I was facing the same issue but in a different environment. To some extent I am 
able to solve the problem. It happened to me when my final output response 
object class was present in different package than my service class package. I 
changed the targetnamespace and related fields of my WSDL to the fully 
qualified package name of my response object. This fixed my problem.

But I still get the same error When I have below scenario:
My reponse object containing objects of other classes which are outside the 
package in which the output response object was present. Thus, my exposed 
service class, final response object and the classes that my response object 
refers are all in different packages. In this scenario I face the same issue 
again.

> Error with Xfire Client Generation wtith xmlbeans
> -------------------------------------------------
>
>                 Key: XFIRE-1091
>                 URL: http://jira.codehaus.org/browse/XFIRE-1091
>             Project: XFire
>          Issue Type: Bug
>          Components: XMLBeans
>    Affects Versions: 1.2.6
>         Environment: Windows XP, Java 1.5
>            Reporter: James Dinh
>            Assignee: Dan Diephouse
>            Priority: Critical
>
> 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? 

-- 
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


Reply via email to