[esb-users] Problem with SOAPClient Action

Pablo Pazos pablo.swp at gmail.com
Thu Dec 4 09:40:02 EST 2008


Hi Kevin,

The strange thing is that I got it working the first time I try it, but I
make modifications on the service (adding another operation) and
modifications on the ESB SoapClient (to invoke this new operation), and the
thing breaks down. I you want I can send you the Grails app I use to expose
the service (it uses a xfire plugin to expose the WS [
http://xfire.codehaus.org/])

attached is the server log, located on
jbossesb-server/server/default/log/server.log

here is the log I get in the screen, it is from when I deployed my ESB and
send a message to it:

13:45:19,515 INFO  [JBoss4ESBDeployer] create esb service, JBossESBTry1.esb
13:45:19,577 INFO  [QueueService] Queue[/queue/esb_entry_point_1] started,
fullSize=200000, pageSize=2000, downCacheSize=2000
13:45:19,780 INFO  [JDBCDataStore] Generated token
'authToken:CA6FC640-C209-11DD-8640-93F7FBEE5A27' for user: 'jbossesb/JBoss
ESB User'
13:45:20,140 INFO  [QuartzScheduler] Scheduler
DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:15:02,561 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:15:02,577 INFO  [STDOUT]    == MyRequestAction ==
14:15:02,577 INFO  [STDOUT]    Request map is: {hello.name=Hello World -
Straight to ESB listener - no Gateway}
14:15:02,593 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:15:25,546 INFO  [STDOUT] Progress: 1 - Caching definition from url [
http://localhost:8484/webservices/services/web?wsdl]
14:15:25,561 INFO  [SchemaUtils] Added default schema from
file:/C:/JBoss/jbossesb-server-4.4.GA.original/server/default/tmp/deploy/tmp24155
soapui-1.7.1.jar!/xop.xsd with targetNamespace
http://www.w3.org/2004/08/xop/include
14:15:25,686 INFO  [SchemaUtils] Added default schema from
file:/C:/JBoss/jbossesb-server-4.4.GA.original/server/default/tmp/deploy/tmp24155
soapui-1.7.1.jar!/XMLSchema.xsd with targetNamespace
http://www.w3.org/2001/XMLSchema
14:15:25,686 INFO  [SchemaUtils] Added default schema from
file:/C:/JBoss/jbossesb-server-4.4.GA.original/server/default/tmp/deploy/tmp24155
soapui-1.7.1.jar!/xml.xsd with targetNamespace
http://www.w3.org/XML/1998/namespace
14:15:25,702 INFO  [SchemaUtils] Added default schema from
file:/C:/JBoss/jbossesb-server-4.4.GA.original/server/default/tmp/deploy/tmp24155
soapui-1.7.1.jar!/swaref.xsd with targetNamespace
http://ws-i.org/profiles/basic/1.1/xsd
14:15:25,702 INFO  [SchemaUtils] Added default schema from
file:/C:/JBoss/jbossesb-server-4.4.GA.original/server/default/tmp/deploy/tmp24155
soapui-1.7.1.jar!/xmime200505.xsd with targetNamespace
http://www.w3.org/2005/05/xmlmime
14:15:25,702 INFO  [SchemaUtils] Added default schema from
file:/C:/JBoss/jbossesb-server-4.4.GA.original/server/default/tmp/deploy/tmp24155
soapui-1.7.1.jar!/xmime200411.xsd with targetNamespace
http://www.w3.org/2004/11/xmlmime
14:15:25,765 INFO  [SchemaUtils] Added default schema from
C:/JBoss/jbossesb-server-4.4.GA.original/server/default/data/soapui-schemas/XMLSc
hema1999.xsd with targetNamespace http://www.w3.org/1999/XMLSchema
14:15:27,499 WARN  [HttpMethodBase] Going to buffer response body of large
or unknown size. Using getResponseBodyAsStream instead is recomme
nded.
14:15:27,624 INFO  [STDOUT] Progress: 1 - Loading definition from cache
14:15:27,733 INFO  [STDOUT] Retrieving document at '
http://localhost:8484/webservices/services/web?wsdl'.
14:15:27,749 INFO  [SchemaUtils] Loading schema types from [
http://localhost:8484/webservices/services/web?wsdl]
14:15:27,749 INFO  [SchemaUtils] Getting schema
http://localhost:8484/webservices/services/web?wsdl
14:15:27,796 INFO  [SchemaUtils] schema for [http://DefaultNamespace]
contained [{}] namespaces
14:15:28,436 INFO  [WsdlImporter] Finding importer for {
http://DefaultNamespace}webHttpBinding
14:15:28,436 INFO  [WsdlImporter] Importing binding {http://DefaultNamespace
}webHttpBinding
14:15:28,608 INFO  [Soap11HttpBindingImporter] importing endpoint
http://localhost/webservices/services/web
14:15:28,874 INFO  [Soap11HttpBindingImporter] importing operation hello
14:15:28,905 INFO  [Soap11HttpBindingImporter] importing operation pepe
14:15:28,905 INFO  [Soap11HttpBindingImporter] importing operation
sendMessage
14:15:29,530 WARN  [SOAPClient] Received status code '500' on HTTP SOAP
(POST) request to 'http://localhost/webservices/services/web'.
14:15:29,530 WARN  [HttpMethodBase] Going to buffer response body of large
or unknown size. Using getResponseBodyAsStream instead is recomme
nded.
14:15:29,546 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:15:29,561 INFO  [STDOUT] Response Map is: {Fault.faultcode=soap:Server,
Fault.faultstring=Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]}
14:15:29,561 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&



thanks a lot!

cheers,
Pablo.


On Thu, Dec 4, 2008 at 9:29 AM, Kevin Conner <kconner at redhat.com> wrote:

> Pablo Pazos wrote:
> > Hi, I've a SOAPAction on the ESB to call a web service, when it's
> > invoked I get a weird error, I don't know what it means, any ideas?
> > thank you!
>
> > The Error: Response Map is: {Fault.faultcode=soap:Server,
> > Fault.faultstring=Unexpected EOF in prolog at [row,col
> > {unknown-source}]: [1,0]}
>
> Something is trying to parse an empty string as XML.
>
> Your webservice has returned a 500 error but I would suspect that the
> error with the parser may be happening in our code, presumably
> SOAPClient as a consequence of this error.
>
> Do you have the logs for this?
>
>        Kev
>
> --
> JBoss, a Division of Red Hat
> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
> Street, Windsor, Berkshire,
> SI4 1TE, United Kingdom.
> Registered in UK and Wales under Company Registration No. 3798903
> Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons
> (USA) and Brendan Lane (Ireland)
>



-- 
Atte.
A/C Pablo Pazos Gutierrez
http://www.simplewebportal.net
http://pablo.swp.googlepages.com/home
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/esb-users/attachments/20081204/e7d1e1f8/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jbossesb-server.server.default.log.server.log.zip
Type: application/zip
Size: 324596 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/esb-users/attachments/20081204/e7d1e1f8/attachment.zip 


More information about the esb-users mailing list