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

Mark Badorrek updated AXIS2-2761:
---------------------------------

    Attachment: axis2-problems.zip

Dims,

Here is list of files showing the minimum to reproduct the problem.
Specifically the WSDL and SXD have been reduced to a single operation.
The error occurrs during the client invoke, after first contact with the 
service. i.e. It doesn't matter if the service is implemented of not, so long 
as it has been deployed.

> Axis2 1.2 fails when using:  elementFormDefault="unqualified" 
> attributeFormDefault="unqualified"
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2761
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2761
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2
>         Environment: Tomcat 6.0.10 on HPUX - using the Axis2 nightly build 
> for June 3rd 2007
>            Reporter: Mark Badorrek
>            Assignee: Deepal Jayasinghe
>            Priority: Critical
>         Attachments: axis2-problems.zip
>
>
> When defining a webservice the schema element may define elementFormDefault 
> and attributeFormDefault as either 'qualified' of 'unqualified'.
> When set to 'unqualified' the resulting solution works with axis 1.4, but 
> crashed with axis 2.12.
> This is quite a showstopper as Axis2 can't talk to any of our existing Axis 
> 1.x services.
> This is probably related to AXIS2-1964 
> https://issues.apache.org/jira/browse/AXIS2-1964
> Stack trace is as follows
> Exception in thread "main" java.lang.NullPointerException
>       at 
> com.ctc.wstx.sw.BaseNsStreamWriter.doWriteDefaultNs(BaseNsStreamWriter.java:529)
>       at 
> com.ctc.wstx.sw.SimpleNsStreamWriter.writeDefaultNamespace(SimpleNsStreamWriter.java:113)
>       at 
> com.ctc.wstx.sw.SimpleNsStreamWriter.writeNamespace(SimpleNsStreamWriter.java:121)
>       at 
> org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeNamespace(MTOMXMLStreamWriter.java:148)
>       at 
> org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeElement(StreamingOMSerializer.java:238)
>       at 
> org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:71)
>       at 
> org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:54)
>       at 
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:490)
>       at 
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:783)
>       at 
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:808)
>       at 
> org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:234)
>       at 
> org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:222)
>       at 
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:808)
>       at 
> org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:418)
>       at 
> org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:55)
>       at 
> org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:83)
>       at 
> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
>       at 
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
>       at 
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
>       at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>       at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>       at 
> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:650)
>       at 
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:188)
>       at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:74)
>       at 
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:312)
>       at 
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:200)
>       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
>       at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:332)
>       at 
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:199)
>       at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:142)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to