Problemas al invocar webservice

16 Aug '12, 01:12 AM
9,117 Views
No Forum Badges

Como puedo resolver esto. Al invocar el webservice usando SOAP me devuelve este mensaje

org.dom4j.tree.DefaultDocument@21f9284b [Document: name null]

Busque en la wiki y seguí el ejemplo que esta ahí pero no recibo nada. Hice otro servicio tomando como guía la wiki y me devuelve el mensaje anterior.

Me pueden ayudar a resolver este problema?

 
x 0
Follow
Answer Answer at this question and get points!
No Forum Badges

Hi,

the obtained message not necessarily is related to errors of the invoked Web Service. It seems that the document object is returned with a content, but its name property has a null value.

You could try to use the SOAP UI software, that allows you to invoke the Web service by providing an appropriate input xml document. In this way you can see the result returned by the Web Service and understand if the Web Service failed or succeeded.

In addition, you could try to print the response document on the console, by using a Script Unit containing the following instruction:

println doc.asXML();    // doc is the xml document received in input

   
x 0
Answer at this question and get points!

Related questions

Access wsdl in https Can not get generate and run option for DataService Project Cannot invoke method selectSingleNode() on null object Can't generate and run database or start tomcat server! CelsiusToFahrenheit Example com.webratio.rtx.RTXException: An error occurred dispatching the SOAP message Could not create service Custom Unit and AJAX / SOAP Description: Unknown tag 'wr:LinkResource' Exception REST Post request Exposing SOAP Web SERVICE on port different from 80 Generation options problem Getting started with Web Services How can I invoke a Rest Web Service having dynamic parameters? How to change smtp port invoking a webservice using REST java.lang.NullPointerException No cloud accounts available No database on my cloud account Parameters order in a webservice request Problema generando la logica de un proyecto Properties of the XSD Resource (File) Publish a web service publish web service for storing information in PostgreSQL DB following XSD Resource Sync DataService Project with Mobile Project usuarios y grupos WebRatio and MySQL WebRatio Mobile Platform Community edition - Restful request WebService DateTime value is not parsed to Date. Web service provider newline problem web service request using XSD Web service - Synchronize XSD When stars web ratio between dofollow and nofollow backlink has affected? When using web services, what kind authentication is used? which of these three models is closer to webratio/ifml way of creating web applications XML Out Unit and Soap Request Response Unit XML Schema Definition Support XML Schema Definition Support