axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nell, Roger " <rn...@sempratrading.com>
Subject RE: [jira] Commented: (AXIS2-540) A default TransportInProtocol
Date Mon, 03 Apr 2006 18:31:42 GMT
Hi Tore,
I haven't played with TransportOut, I have only been using the:
     options.setTo( new EndpointReference(" http://localhost:8080/axis2/services/MyService")
<http://localhost:8080/axis2/services/MyService>  )
 
If I run the EchoBlockingClient and EchoNonBlockingClient without the setTransportInProtocol(..)
it works. Only dual transport type clients seem to have this problem.
 
 
-----Original Message-----
From: tore.larsen@comptel.com [mailto:tore.larsen@comptel.com]
Sent: Monday, April 03, 2006 1:49 PM
To: axis-dev@ws.apache.org
Subject: RE: [jira] Commented: (AXIS2-540) A default TransportInProtocol


Hei Roger,
I have posted a problem with a NPE when TransportOut is not explicitly set today. May be this
is also relevant for my "blocking" type of service communication?
 

Best regards / vennlig hilsen 
Tore Larsen 
Senior Software Engineer
Comptel Communication AS 

e-mail        :   <mailto:tore.larsen@edbtelesciences.com> tore.larsen@comptel.com


  _____  

From: Nell, Roger [mailto:rnell@sempratrading.com] 
Sent: 3. april 2006 16:03
To: axis-dev@ws.apache.org
Subject: [jira] Commented: (AXIS2-540) A default TransportInProtocol




Dim, 
   Looking at your EchoNonBlockingDualClient.java demo program, if I remove the options.setTransportInProtocol(...)
line, the sample breaks.  Stack trace below.  



09:38:33,444 DEBUG [DispatchPhase] Handler AddressingBasedDispatcher added to Phase Dispatch

09:38:33,460 DEBUG [DispatchPhase] Handler RequestURIBasedDispatcher added to Phase Dispatch

09:38:33,460 DEBUG [DispatchPhase] Handler SOAPActionBasedDispatcher added to Phase Dispatch

09:38:33,460 DEBUG [DispatchPhase] Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch

09:38:33,460 DEBUG [DispatchPhase] Handler InstanceDispatcher added to Phase Dispatch 
09:38:33,507 DEBUG [ProjectResourceBundle] getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)

09:38:33,507 DEBUG [ProjectResourceBundle] loadBundle: Ignoring MissingResourceException:
Can't find bundle for base name org.apache.axis2.resource, locale en_US

09:38:33,507 DEBUG [ProjectResourceBundle] Created org.apache.axis2.i18n.resource, linked
to parent null 
09:38:33,523 DEBUG [ProjectResourceBundle] getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)

09:38:33,523 DEBUG [ProjectResourceBundle] org.apache.axis2.i18n.resource::handleGetObject(classnotfound)

09:38:33,523 DEBUG [ProjectResourceBundle] org.apache.axis2.i18n.resource::handleGetObject(classnotfound)

09:38:33,523 DEBUG [ProjectResourceBundle] org.apache.axis2.i18n.resource::handleGetObject(classnotfound)

09:38:33,523 DEBUG [ProjectResourceBundle] org.apache.axis2.i18n.resource::handleGetObject(classnotfound)

09:38:33,523 DEBUG [ProjectResourceBundle] org.apache.axis2.i18n.resource::handleGetObject(classnotfound)

09:38:33,523 DEBUG [ProjectResourceBundle] org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule)

09:38:33,538 DEBUG [DeploymentEngine] adding new module 
09:38:33,538 DEBUG [ProjectResourceBundle] org.apache.axis2.i18n.resource::handleGetObject(deployeingmodule)

09:38:33,538 INFO  [DeploymentEngine] Deploying module : addressing 
09:38:33,585 DEBUG [Phase] Handler AddressingFinalInHandler added to Phase PreDispatch 
09:38:33,585 DEBUG [Phase] Handler AddressingSubmissionInHandler added to Phase PreDispatch

09:38:33,585 DEBUG [Phase] Handler AddressingOutHandler added to Phase MessageOut 
09:38:33,585 DEBUG [Phase] Handler AddressingOutHandler added to Phase MessageOut 
java.lang.NullPointerException 
        at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:249)

        at org.apache.axis2.client.ServiceClient.sendReceiveNonBlocking(ServiceClient.java:473)

        at org.apache.axis2.client.ServiceClient.sendReceiveNonBlocking(ServiceClient.java:454)

        at com.sempra.client.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:69)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585) 
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78) 
09:38:33,648 DEBUG [JMSSender] Enter: JMSTransport::closeAllConnectors 
09:38:33,648 DEBUG [JMSConnectorManager] Enter: JMSConnectorManager::closeAllConnectors 
09:38:33,648 DEBUG [JMSConnectorManager] Exit: JMSConnectorManager::closeAllConnectors 
09:38:33,648 DEBUG [JMSSender] Exit: JMSTransport::closeAllConnectors 

Process finished with exit code 0 


Roger 


>Davanum Srinivas commented on AXIS2-540: 
>---------------------------------------- 
> 
>does the client fail of the setTransportInProtocol is not set? can u please try removing
it and post >any stack traces?

> 
>thanks, 
>dims 





**********************************************************************

This e-mail contains privileged attorney-client communications and/or confidential information,
and is only for the use by the intended recipient. Receipt by an unintended recipient does
not constitute a waiver of any applicable privilege.



Reading, disclosure, discussion, dissemination, distribution or copying of this information
by anyone other than the intended recipient or his or her employees or agents is strictly
prohibited.  If you have received this communication in error, please immediately notify us
and delete the original material from your computer.



Sempra Energy Trading Corp. (SET) is not the same company as SDG&E or SoCalGas, the utilities
owned by SET's parent company.  SET is not regulated by the California Public Utilities Commission
and you do not have to buy SET's products and services to continue to receive quality regulated
service from the utilities.

**********************************************************************



**********************************************************************
This e-mail contains privileged attorney-client communications and/or confidential information,
and is only for the use by the intended recipient. Receipt by an unintended recipient does
not constitute a waiver of any applicable privilege.

Reading, disclosure, discussion, dissemination, distribution or copying of this information
by anyone other than the intended recipient or his or her employees or agents is strictly
prohibited.  If you have received this communication in error, please immediately notify us
and delete the original material from your computer.

Sempra Energy Trading Corp. (SET) is not the same company as SDG&E or SoCalGas, the utilities
owned by SET's parent company.  SET is not regulated by the California Public Utilities Commission
and you do not have to buy SET's products and services to continue to receive quality regulated
service from the utilities.
**********************************************************************

Mime
View raw message