RE: help AxisFault error dont know how to debug

2007-12-10 Thread Ove Gram Nipen
MrNobody [mailto:[EMAIL PROTECTED] wrote:
> 
> Ove Gram Nipen wrote:
> > 
> > You could try to reach the WSDL document using your web browser, by 
> > pointing your browser to the web service endpoint and appending
?wsdl 
> > to the url. For instance, if the web service endpoint is 
> > http://somewhere.com/services/HelloService, you could try to reach 
> > http://somewhere.com/services/HelloService?wsdl. If this works, you
at 
> > least know that the service is available. If it doesn't work, it 
> > doesn't really tell you anything.
> 
> Ah, this helped alot- it told me there is a database 
> connection error it looks like the web service has been 
> updated just recently

Does this mean that you got an error message in the html reply? If that
is the case, that could account for the unknown AxisFault you get when
you try to call the web service using Axis.

Another tip: once you have got the WSDL document to display properly,
try to use Altova XML spy to call the web service. It's commercial, but
there are free-as-in-beer evaluation licences available. You start XML
spy, choose SOAP->Create new soap request, enter the URL of the wsdl,
for instance http://somewhere.com/services/HelloService?wsdl, and then
select the right port and operation. This gives you the opportunity to
edit the request document by hand before sending it to the server (don't
worry, a skeleton request document is generated automatically for you).
This can be a good debugging tool, since you can easily manipulate the
data sent in the request. 

Good luck :) 

-- 
Regards, 
Ove Gram Nipen, 
Delfi Data

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: help AxisFault error dont know how to debug

2007-12-07 Thread MrNobody

I am still waiting for the team responsible to get back to me the database,
but I am starting to have doubts it is really the cause of the problem I am
having in my code, because there is a windows application they provide (this
is a third party web service) and it can conenct to it fine...

I turned on DEBUG in logging and here is where the error happens: (does it
look like its actually reaching the web service or failing before it even
gets there?)

[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "Addressing"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "Addressing"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'AddressingBasedDispatcher' in Phase 'Addressing'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "Addressing"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "Security"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "Security"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "Security"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "PreDispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "PreDispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "PreDispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking pre-condition for Phase "OperationInPhase"
org.apache.axis2.AxisFault: An uknown error occured processing this SOAP
request
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at
com.pbg.roadnet.upslt.transportationwebservice.TransportationWebServiceStub.SaveRoute(TransportationWebServiceStub.java:5025)[DEBUG]
[MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699] Invoking
phase "OperationInPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Checking post-conditions for phase "OperationInPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() in Phase "OperationInPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() in Phase "RMPhase"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() in Phase "Dispatch"
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler 'HTTPLocationBasedDispatcher' in Phase
'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler 'SOAPMessageBodyBasedDispatcher' in
Phase 'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler 'RequestURIOperationDispatcher' in Phase
'Dispatch'
[DEBUG] [MessageContext: logID=urn:uuid:66CB8C39B7C7B41AED1197049351699]
Invoking flowComplete() for Handler '

RE: help AxisFault error dont know how to debug

2007-12-07 Thread MrNobody



Ove Gram Nipen wrote:
> 
> 
> You could try to reach the WSDL document using your web browser, by
> pointing your browser to the web service endpoint and appending ?wsdl to
> the url. For instance, if the web service endpoint is
> http://somewhere.com/services/HelloService, you could try to reach
> http://somewhere.com/services/HelloService?wsdl. If this works, you at
> least know that the service is available. If it doesn't work, it doesn't
> really tell you anything. 
> 
> 
> 
> 
> 

Ah, this helped alot- it told me there is a database connection error it
looks like the web service has been updated just recently
-- 
View this message in context: 
http://www.nabble.com/help-AxisFault-error-dont-know-how-to-debug-tf4962850.html#a14215821
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: help AxisFault error dont know how to debug

2007-12-07 Thread Ove Gram Nipen
MrNobody [mailto:[EMAIL PROTECTED] wrote:
>
> I am getting an AxisFault error like this:
> 
> org.apache.axis2.AxisFault: An uknown error occured 
> processing this SOAP request
> 
> when trying to make a WebService call
> 
> I tried searching for that string and there is nothing on the 
> web. What does this error mean? I do not even know where to 
> begin in debugging this

You could try to reach the WSDL document using your web browser, by
pointing your browser to the web service endpoint and appending ?wsdl to
the url. For instance, if the web service endpoint is
http://somewhere.com/services/HelloService, you could try to reach
http://somewhere.com/services/HelloService?wsdl. If this works, you at
least know that the service is available. If it doesn't work, it doesn't
really tell you anything. 

Other than that, stick a log4j.properties file in your classpath and set
rootlogger level to DEBUG. That should produce a lot of output, so that
you can see what axis2 is trying to do. 

-- 
Regards, 
Ove Gram Nipen
Delfi Data

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: help AxisFault error dont know how to debug

2007-12-07 Thread sietsenicolaas.tenhoeve
Hi,

You can turn on logging using log4j. If you set the loglevel to debug
you can exactly trace all steps taken by Axis.

Good luck,
Sietse 

-Original Message-
From: MrNobody [mailto:[EMAIL PROTECTED] 
Sent: 07 December 2007 15:56
To: axis-user@ws.apache.org
Subject: help AxisFault error dont know how to debug


I am getting an AxisFault error like this:

org.apache.axis2.AxisFault: An uknown error occured processing this SOAP
request

when trying to make a WebService call

I tried searching for that string and there is nothing on the web. What
does this error mean? I do not even know where to begin in debugging
this

what I did do is ping the server to confirm it is there but other than
that, I am lost
--
View this message in context:
http://www.nabble.com/help-AxisFault-error-dont-know-how-to-debug-tf4962
850.html#a14215123
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]