Stuart Owen wrote:
> Hi,
>     Your wsdl indicates that your web service is based upon RPC/Literal 
> which Taverna doesn't support. RPC/Literal is highly discouraged for 
> interoperability reasons. You should change it to wrapped doc/literal or 
> RPC/Encoded.
>   
I should also point out that RPC/Encoded is discouraged according to the 
WSI (Web Service Interopability), but in most cases will work with Taverna.
> Stuart
>
> Pierre LINDENBAUM wrote:
>   
>> Thank you all for searching the origin of this issue
>>
>> I saw the log of my server while you were sending some queries. Here is a 
>> snapshot:
>>
>>     com.sun.xml.internal.ws.streaming.XMLStreamReaderException: XML reader 
>> error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
>>     Message: Content is not allowed in prolog.
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.wrapException(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.next(Unknown Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextContent(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextElementContent(Unknown
>>  Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter.decodePacket(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter.access$500(Unknown Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(Unknown
>>  Source)
>>         at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(Unknown
>>  Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(Unknown 
>> Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.AuthFilter.doFilter(Unknown Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(Unknown 
>> Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.ServerImpl$Exchange.run(Unknown Source)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
>> Source)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>         at java.lang.Thread.run(Unknown Source)
>>     Caused by: javax.xml.stream.XMLStreamException: ParseError at 
>> [row,col]:[1,1]
>>     Message: Content is not allowed in prolog.
>>         at 
>> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.next(Unknown Source)
>>         ... 22 more
>>     name is myGrid
>>     name is myGrid
>>     name is myGrid
>>     name is myGrid
>>     com.sun.xml.internal.ws.streaming.XMLStreamReaderException: XML reader 
>> error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
>>     Message: Premature end of file.
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.wrapException(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.next(Unknown Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextContent(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextElementContent(Unknown
>>  Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter.decodePacket(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter.access$500(Unknown Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(Unknown
>>  Source)
>>         at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(Unknown
>>  Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(Unknown 
>> Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.AuthFilter.doFilter(Unknown Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(Unknown 
>> Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.ServerImpl$Exchange.run(Unknown Source)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
>> Source)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>         at java.lang.Thread.run(Unknown Source)
>>     Caused by: javax.xml.stream.XMLStreamException: ParseError at 
>> [row,col]:[1,1]
>>     Message: Premature end of file.
>>         at 
>> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.next(Unknown Source)
>>         ... 22 more
>>     com.sun.xml.internal.ws.streaming.XMLStreamReaderException: XML reader 
>> error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
>>     Message: Premature end of file.
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.wrapException(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.next(Unknown Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextContent(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextElementContent(Unknown
>>  Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(Unknown 
>> Source)
>>         at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter.decodePacket(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter.access$500(Unknown Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(Unknown
>>  Source)
>>         at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(Unknown
>>  Source)
>>         at 
>> com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(Unknown 
>> Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.AuthFilter.doFilter(Unknown Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(Unknown 
>> Source)
>>         at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
>>         at sun.net.httpserver.ServerImpl$Exchange.run(Unknown Source)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
>> Source)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>         at java.lang.Thread.run(Unknown Source)
>>     Caused by: javax.xml.stream.XMLStreamException: ParseError at 
>> [row,col]:[1,1]
>>     Message: Premature end of file.
>>         at 
>> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown 
>> Source)
>>         at 
>> com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.next(Unknown Source)
>>         ... 22 more
>>     name is myGrid
>>
>>
>>
>>
>>   
>>     
>>> Could you try using another HTTP server implementation (using
>>> something like Tomcat or Jetty) instead of using endpoint.publish()
>>> ..?
>>>     
>>>       
>> I don't think Tomcat or Jetty can automatically publish a WS using the  
>> javax.jws.* annotations but Glassfish can do this.
>> It may take some time before I can set-up a server. I'll keep you informed. 
>> Do you think this is a bug from java ?
>> (It would be nice if we could using this javax.jws API to create some simple 
>> WS for bioinformatics...)
>>
>> Pierre
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> .
>>
>>
>>
>>       
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> taverna-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/taverna-users
>> Documentation: http://www.mygrid.org.uk/usermanual1.7/
>> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
>> Biological Services: 
>> http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices
>>   
>>     
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> taverna-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/taverna-users
> Documentation: http://www.mygrid.org.uk/usermanual1.7/
> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
> Biological Services: 
> http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices
>   


------------------------------------------------------------------------------
_______________________________________________
taverna-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-users
Documentation: http://www.mygrid.org.uk/usermanual1.7/
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
Biological Services: http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices

Reply via email to