[jira] Updated: (AXIS2-2279) java.lang.NullPointerException at org.apache.axis2.description.ClientUtils.inferInTransport (ClientUtils.java:85)

2007-06-11 Thread Amila Chinthaka Suriarachchi (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amila Chinthaka Suriarachchi updated AXIS2-2279:


Priority: Blocker  (was: Major)

 java.lang.NullPointerException at 
 org.apache.axis2.description.ClientUtils.inferInTransport  
 (ClientUtils.java:85)
 --

 Key: AXIS2-2279
 URL: https://issues.apache.org/jira/browse/AXIS2-2279
 Project: Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 1.1.1
 Environment: Windows XP, Eclipse 3.2 , jre 1.5.0_06, Axis2 1.1.1
Reporter: oliv g
Assignee: Deepal Jayasinghe
Priority: Blocker
 Attachments: testEDD.java


 java.lang.NullPointerException
   at 
 org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java:85)
   at 
 org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:163)
   at 
 fr.acme.www.myapp_v1.AskForPricingStub.AskForPricingOperation(AskForPricingStub.java:150)
   at fr.acme.www.myapp_v1.Client.go(Client.java:51)
 which is not a clear error message.
 Server and client are generated automaticly from the wsdl with Axis2 code 
 generator and xmlbeans databinding within Eclipse
 (same result using wsdl2java.bat)
 Here is the null pointer exception (transportOut is null) at 
 org.apache.axis2.description.ClientUtils.inferInTransport  
 (ClientUtils.java:85) received when launching my client code trying to 
 invoque the available service.
   
   } else {
 //assume listener transport as sender transport
 --listenerTransportProtocol = 
 msgCtxt.getTransportOut().getName().getLocalPart();
 }
 }
 Here is the wsdl :
 ?xml version=1.0 encoding=UTF-8?
 wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
   xmlns:val=http://www.acme.fr/myapp_V1;
   xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=AskForPricing
   targetNamespace=http://www.acme.fr/myapp_V1;
   wsdl:types
   xsd:schema elementFormDefault=qualified
   targetNamespace=http://www.acme.fr/myapp_V1;
   xsd:include schemaLocation=myappCommonTypes.xsd /
   xsd:element name=Instruments
   xsd:complexType
   xsd:sequence
   xsd:element 
 maxOccurs=unbounded minOccurs=0
   name=Instrument 
 type=val:InstrumentType /
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   xsd:element name=AskForPricingOperationResponse
   xsd:complexType
   xsd:sequence
   xsd:element name=result 
 type=xsd:string /
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   xsd:element name=HeaderNCB 
 type=val:HeaderNCBToFRType /
   xsd:element name=AskForPricingOperation_fault
   xsd:complexType
   xsd:sequence
   xsd:element 
 name=AskForPricingOperation_fault
   type=xsd:string
   /xsd:element
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   /xsd:schema
   /wsdl:types
   wsdl:message name=AskForPricingOperationRequest
   wsdl:part element=val:Instruments name=ListOfInstruments /
   /wsdl:message
   wsdl:message name=AskForPricingOperationRequestHeader
   wsdl:part element=val:HeaderNCB name=RequestHeader /
   /wsdl:message
   wsdl:message name=AskForPricingOperationResponse
   wsdl:part element=val:AskForPricingOperationResponse
   name=Response /
   /wsdl:message
   wsdl:message name=AskForPricingOperation_faultMsg
   wsdl:part element=val:AskForPricingOperation_fault
   name=parameters /
   /wsdl:message
   wsdl:portType name=AskForPricing
   wsdl:operation name=AskForPricingOperation
   wsdl:input message=val:AskForPricingOperationRequest 
 /
   wsdl:output 
 message=val:AskForPricingOperationResponse /
   !--  

[jira] Updated: (AXIS2-2279) java.lang.NullPointerException at org.apache.axis2.description.ClientUtils.inferInTransport (ClientUtils.java:85)

2007-04-16 Thread Hoang Chau (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoang Chau updated AXIS2-2279:
--

Attachment: testEDD.java

Hi all,

I am using axis2 version1.1.1 to generate the client using xmlbean databinding 
and got the same nullpointer error when I ran my client.  
I checked my lib several  times and all 43 jars are there
Here is the url of the wsdl:

http://fsettestprod.edd.ca.gov/fsetproxy/fsetservice.asmx?WSDL 

Attached is my test files 

 java.lang.NullPointerException at 
 org.apache.axis2.description.ClientUtils.inferInTransport  
 (ClientUtils.java:85)
 --

 Key: AXIS2-2279
 URL: https://issues.apache.org/jira/browse/AXIS2-2279
 Project: Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 1.1.1
 Environment: Windows XP, Eclipse 3.2 , jre 1.5.0_06, Axis2 1.1.1
Reporter: oliv g
 Assigned To: Deepal Jayasinghe
 Attachments: testEDD.java


 java.lang.NullPointerException
   at 
 org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java:85)
   at 
 org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:163)
   at 
 fr.acme.www.myapp_v1.AskForPricingStub.AskForPricingOperation(AskForPricingStub.java:150)
   at fr.acme.www.myapp_v1.Client.go(Client.java:51)
 which is not a clear error message.
 Server and client are generated automaticly from the wsdl with Axis2 code 
 generator and xmlbeans databinding within Eclipse
 (same result using wsdl2java.bat)
 Here is the null pointer exception (transportOut is null) at 
 org.apache.axis2.description.ClientUtils.inferInTransport  
 (ClientUtils.java:85) received when launching my client code trying to 
 invoque the available service.
   
   } else {
 //assume listener transport as sender transport
 --listenerTransportProtocol = 
 msgCtxt.getTransportOut().getName().getLocalPart();
 }
 }
 Here is the wsdl :
 ?xml version=1.0 encoding=UTF-8?
 wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
   xmlns:val=http://www.acme.fr/myapp_V1;
   xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=AskForPricing
   targetNamespace=http://www.acme.fr/myapp_V1;
   wsdl:types
   xsd:schema elementFormDefault=qualified
   targetNamespace=http://www.acme.fr/myapp_V1;
   xsd:include schemaLocation=myappCommonTypes.xsd /
   xsd:element name=Instruments
   xsd:complexType
   xsd:sequence
   xsd:element 
 maxOccurs=unbounded minOccurs=0
   name=Instrument 
 type=val:InstrumentType /
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   xsd:element name=AskForPricingOperationResponse
   xsd:complexType
   xsd:sequence
   xsd:element name=result 
 type=xsd:string /
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   xsd:element name=HeaderNCB 
 type=val:HeaderNCBToFRType /
   xsd:element name=AskForPricingOperation_fault
   xsd:complexType
   xsd:sequence
   xsd:element 
 name=AskForPricingOperation_fault
   type=xsd:string
   /xsd:element
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   /xsd:schema
   /wsdl:types
   wsdl:message name=AskForPricingOperationRequest
   wsdl:part element=val:Instruments name=ListOfInstruments /
   /wsdl:message
   wsdl:message name=AskForPricingOperationRequestHeader
   wsdl:part element=val:HeaderNCB name=RequestHeader /
   /wsdl:message
   wsdl:message name=AskForPricingOperationResponse
   wsdl:part element=val:AskForPricingOperationResponse
   name=Response /
   /wsdl:message
   wsdl:message name=AskForPricingOperation_faultMsg
   wsdl:part element=val:AskForPricingOperation_fault
   name=parameters /
   /wsdl:message
   wsdl:portType 

[jira] Updated: (AXIS2-2279) java.lang.NullPointerException at org.apache.axis2.description.ClientUtils.inferInTransport (ClientUtils.java:85)

2007-03-01 Thread oliv g (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

oliv g updated AXIS2-2279:
--

Environment: Windows XP, Eclipse 3.2 , jre 1.5.0_06, Axis2 1.1.1  (was: 
Windows XP, Eclipse 3.2 , jre 1.5.0_06, Axis)

 java.lang.NullPointerException at 
 org.apache.axis2.description.ClientUtils.inferInTransport  
 (ClientUtils.java:85)
 --

 Key: AXIS2-2279
 URL: https://issues.apache.org/jira/browse/AXIS2-2279
 Project: Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 1.1.1
 Environment: Windows XP, Eclipse 3.2 , jre 1.5.0_06, Axis2 1.1.1
Reporter: oliv g

 java.lang.NullPointerException
   at 
 org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java:85)
   at 
 org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:163)
   at 
 AskForPricingStub.AskForPricingOperation(AskForPricingStub.java:150)
 Server and client are generated automaticly from the wsdl with Axis2 code 
 generator and xmlbeans databinding within Eclipse
 (same result using wsdl2java.bat)
 Here is the null pointer exception (transportOut is null) at 
 org.apache.axis2.description.ClientUtils.inferInTransport  
 (ClientUtils.java:85) received when launching my client code trying to 
 invoque the available service.
   
   } else {
 //assume listener transport as sender transport
 --listenerTransportProtocol = 
 msgCtxt.getTransportOut().getName().getLocalPart();
 }
 }
 Here is the wsdl :
 ?xml version=1.0 encoding=UTF-8?
 wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
   xmlns:val=http://www.banque-france.fr/VALOR_V1;
   xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
   xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=AskForPricing
   targetNamespace=http://www.banque-france.fr/VALOR_V1;
   wsdl:types
   xsd:schema elementFormDefault=qualified
   targetNamespace=http://www.banque-france.fr/VALOR_V1;
   xsd:include schemaLocation=ValorCommonTypes.xsd /
   xsd:element name=Instruments
   xsd:complexType
   xsd:sequence
   xsd:element 
 maxOccurs=unbounded minOccurs=0
   name=Instrument 
 type=val:InstrumentType /
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   xsd:element name=AskForPricingOperationResponse
   xsd:complexType
   xsd:sequence
   xsd:element name=result 
 type=xsd:string /
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   xsd:element name=HeaderNCB 
 type=val:HeaderNCBToFRType /
   xsd:element name=AskForPricingOperation_fault
   xsd:complexType
   xsd:sequence
   xsd:element 
 name=AskForPricingOperation_fault
   type=xsd:string
   /xsd:element
   /xsd:sequence
   /xsd:complexType
   /xsd:element
   /xsd:schema
   /wsdl:types
   wsdl:message name=AskForPricingOperationRequest
   wsdl:part element=val:Instruments name=ListOfInstruments /
   /wsdl:message
   wsdl:message name=AskForPricingOperationRequestHeader
   wsdl:part element=val:HeaderNCB name=RequestHeader /
   /wsdl:message
   wsdl:message name=AskForPricingOperationResponse
   wsdl:part element=val:AskForPricingOperationResponse
   name=Response /
   /wsdl:message
   wsdl:message name=AskForPricingOperation_faultMsg
   wsdl:part element=val:AskForPricingOperation_fault
   name=parameters /
   /wsdl:message
   wsdl:portType name=AskForPricing
   wsdl:operation name=AskForPricingOperation
   wsdl:input message=val:AskForPricingOperationRequest 
 /
   wsdl:output 
 message=val:AskForPricingOperationResponse /
   !--  wsdl:fault 
 message=val:AskForPricingOperation_faultMsg name=fault/ --
   /wsdl:operation
   /wsdl:portType
   wsdl:binding 

[jira] Updated: (AXIS2-2279) java.lang.NullPointerException at org.apache.axis2.description.ClientUtils.inferInTransport (ClientUtils.java:85)

2007-03-01 Thread oliv g (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

oliv g updated AXIS2-2279:
--

Description: 
java.lang.NullPointerException
at 
org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java:85)
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:163)
at 
fr.acme.www.myapp_v1.AskForPricingStub.AskForPricingOperation(AskForPricingStub.java:150)
at fr.acme.www.myapp_v1.Client.go(Client.java:51)

which is not a clear error message.

Server and client are generated automaticly from the wsdl with Axis2 code 
generator and xmlbeans databinding within Eclipse
(same result using wsdl2java.bat)

Here is the null pointer exception (transportOut is null) at 
org.apache.axis2.description.ClientUtils.inferInTransport  
(ClientUtils.java:85) received when launching my client code trying to invoque 
the available service.
  
  } else {
//assume listener transport as sender transport
--listenerTransportProtocol = 
msgCtxt.getTransportOut().getName().getLocalPart();
}
}


Here is the wsdl :


?xml version=1.0 encoding=UTF-8?
wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:val=http://www.acme.fr/myapp_V1;
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema; name=AskForPricing
targetNamespace=http://www.acme.fr/myapp_V1;
wsdl:types
xsd:schema elementFormDefault=qualified
targetNamespace=http://www.acme.fr/myapp_V1;
xsd:include schemaLocation=myappCommonTypes.xsd /
xsd:element name=Instruments
xsd:complexType
xsd:sequence
xsd:element 
maxOccurs=unbounded minOccurs=0
name=Instrument 
type=val:InstrumentType /
/xsd:sequence
/xsd:complexType
/xsd:element
xsd:element name=AskForPricingOperationResponse
xsd:complexType
xsd:sequence
xsd:element name=result 
type=xsd:string /
/xsd:sequence
/xsd:complexType
/xsd:element
xsd:element name=HeaderNCB 
type=val:HeaderNCBToFRType /

xsd:element name=AskForPricingOperation_fault
xsd:complexType
xsd:sequence
xsd:element 
name=AskForPricingOperation_fault
type=xsd:string
/xsd:element
/xsd:sequence
/xsd:complexType
/xsd:element
/xsd:schema
/wsdl:types

wsdl:message name=AskForPricingOperationRequest
wsdl:part element=val:Instruments name=ListOfInstruments /

/wsdl:message
wsdl:message name=AskForPricingOperationRequestHeader
wsdl:part element=val:HeaderNCB name=RequestHeader /
/wsdl:message
wsdl:message name=AskForPricingOperationResponse
wsdl:part element=val:AskForPricingOperationResponse
name=Response /
/wsdl:message

wsdl:message name=AskForPricingOperation_faultMsg
wsdl:part element=val:AskForPricingOperation_fault
name=parameters /
/wsdl:message
wsdl:portType name=AskForPricing
wsdl:operation name=AskForPricingOperation
wsdl:input message=val:AskForPricingOperationRequest 
/
wsdl:output 
message=val:AskForPricingOperationResponse /
!--  wsdl:fault 
message=val:AskForPricingOperation_faultMsg name=fault/ --
/wsdl:operation
/wsdl:portType
wsdl:binding name=AskForPricingSOAP type=val:AskForPricing
soap:binding style=document
transport=http://schemas.xmlsoap.org/soap/http; /
wsdl:operation name=AskForPricingOperation
soap:operation

soapAction=http://www.acme.fr/myapp_V1/NewOperation; /
wsdl:input
soap:header

message=val:AskForPricingOperationRequestHeader