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

Bonzai commented on XFIRE-272:
------------------------------

I see that this issue was first reported in 2006, has there been any further 
investigation to this because now I stumble upon the same problem. I followed 
the Client API documentation. There it said that if one is trying out someone 
else's web service, one should try writing a dynamic client, which is what I'm 
trying to do. But we can't get complex structure back (an object), which is 
what the web service I'm testing is expected to return. What suggestions do you 
have? I already tried the proxy client route, however, also stuck at the 
following step:

Service serviceModel = new ObjectServiceFactory().create(YourService.class);

I understand that YourService should be an interface, but when I compiled my 
code, it did not recognise my interface.

Thanks in advance.



 

> Don't get the XML complex document from the dynamic client
> ----------------------------------------------------------
>
>                 Key: XFIRE-272
>                 URL: http://jira.codehaus.org/browse/XFIRE-272
>             Project: XFire
>          Issue Type: Bug
>         Environment: Windows XP/Pro + jdk 1.5.0_06
>            Reporter: Guillaume ALLEON
>            Assignee: Dan Diephouse
>         Attachments: gsoap.zip
>
>
> I use SNAPSHOT version but can't be more precise (came from CVS head)
> Using classes build from the book sample and using the dynamic client through 
>  Groovy JSR04 I got the
> following result 
> [#document: null]
> com.sun.org.apache.xerces.internal.dom.DocumentImpl
> [Fatal Error] :1:1: Content is not allowed in prolog.
> Caught: org.xml.sax.SAXParseException: Content is not allowed in prolog.
> (I got the same result with 
> http://www.webservicex.net/WeatherForecast.asmx?WSDL and xfire dynamic client 
> + groovy)
> SoapServer is the file to launch.

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