axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Badorrek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2761) Axis2 1.2 fails when using: elementFormDefault="unqualified" attributeFormDefault="unqualified"
Date Wed, 06 Jun 2007 22:30:26 GMT

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

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

    Attachment:     (was: demo.wsdl)

> 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
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message