You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Juan P. Holder" <ju...@gmail.com> on 2013/09/11 21:08:02 UTC

axis2 client connection fault

Dear all,

I get this exception

Re: axis2 client connection fault

Posted by "Juan P. Holder" <ju...@gmail.com>.
Sorry it was a keyboard fault.

Basically I get this message:

20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [ConfigurationContext]
OnDemandLogger initialized for class
org.apache.axis2.context.ConfigurationContext
is:org.apache.commons.logging.impl.Log4JLogger@18f857
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [ConfigurationContext]
registerOperationContext (false):
org.apache.axis2.context.OperationContext@1583279 with key:
urn:uuid:1a9c3b86-cd1a-4359-8573-ee7bf199be54
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [OutInAxisOperationClient]
Entry: OutInAxisOperationClient::execute, true
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [Options] getAction (null)
from org.apache.axis2.client.Options@159d0ae
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [MessageContext] SoapAction
is (null)
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [Options] getAction (
http://www.towersoft.com/schema/webservice/trim2/Execute) from
org.apache.axis2.client.Options@193720d
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [Options] getAction (null)
from org.apache.axis2.client.Options@159d0ae
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [MessageContext] Old
SoapAction is (null)
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [MessageContext] New
SoapAction is (http://www.towersoft.com/schema/webservice/trim2/Execute)
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [Options] setAction Old
action is (null)
20:30:00,599 INFO  [STDOUT] d20:30:00,599 DEBUG [Options] setAction New
action is (http://www.towersoft.com/schema/webservice/trim2/Execute)
20:30:00,630 INFO  [STDOUT] d20:30:00,630 DEBUG [ProjectResourceBundle]
getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
20:30:00,630 INFO  [STDOUT] d20:30:00,630 DEBUG [ProjectResourceBundle]
loadBundle: Ignoring *MissingResourceException*: Can't find bundle for base
name org.apache.axis2.resource, locale en_IE
20:30:00,630 INFO  [STDOUT] d20:30:00,630 DEBUG [ProjectResourceBundle]
Created org.apache.axis2.i18n.resource, linked to parent null
20:30:00,630 INFO  [STDOUT] d20:30:00,630 DEBUG [ProjectResourceBundle]
getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
20:30:00,630 INFO  [STDOUT] d20:30:00,630 DEBUG [ProjectResourceBundle]
org.apache.axis2.i18n.resource::handleGetObject(cannotInferTransportNoAddr)
20:30:00,630 INFO  [STDOUT] d20:30:00,630 ERROR [ClientUtils] Address
information does not exist in the Endpoint Reference (EPR).The system
cannot infer the transport mechanism.
20:30:00,630 INFO  [STDOUT] d20:30:00,630 DEBUG [ProjectResourceBundle]
org.apache.axis2.i18n.resource::handleGetObject(cannotInferTransportNoAddr)
20:30:00,661 INFO  [STDOUT] d20:30:00,661 ERROR [DocumentHome] Unable to
connect to TRIM
org.apache.axis2.AxisFault: Address information does not exist in the
Endpoint Reference (EPR).The system cannot infer the transport mechanism.
      at org.apache.axis2.description.ClientUtils.inferOutTransport(*
ClientUtils.java:73*)
      at org.apache.axis2.client.OperationClient.prepareMessageContext(*
OperationClient.java:304*)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(*
OutInAxisOperation.java:180*)
      at org.apache.axis2.client.OperationClient.execute(*
OperationClient.java:165*)
      at com.towersoft.www.schema.webservice.trim2.EngineStub.execute(*
EngineStub.java:733*)



I had generated the code from wsdl, I create an instance of the stub with
the webservice url, then I search the whole code, and I have no wsdl
hardcoded, so, I really do not know where the issue is.

I also used a Basic authenticator, which works ok since if do not add it I
get a 401 (unauthorized) error , therefore, there is a connection to the
server.

I've googled the thing, but I did not get any interesting clue.

Thanks in advande people!

JH



2013/9/11 Juan P. Holder <ju...@gmail.com>

> Dear all,
>
> I get this exception
>
>