axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2692) Axis2 client fails to access webservice with elementFormDefault="unqualified"
Date Thu, 24 May 2007 14:05:16 GMT

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

Davanum Srinivas resolved AXIS2-2692.
-------------------------------------

    Resolution: Fixed

Fixed in yesterday's nightly build.

thanks,
dims

> Axis2 client fails to access webservice with elementFormDefault="unqualified"
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2-2692
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2692
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2, nightly
>         Environment: jdk 1.4.2 / winXP
>            Reporter: Bernd Frey
>            Priority: Critical
>
> Hello,
> I am trying to switch a project from Axis2 1.1 to Axis2 1.2. With 1.1, it worked fine,
1.2 fails to access a webservice which has a schema with elementFormDefault="unqualified".
In the nightly build, i get the sam error.
> I found the following, but this does not help since a have to access an allready existing
service:
> > Eric Deshayes commented on AXIS2-1964:
> > --------------------------------------
> > 
> > I solved my problem by fixing my XML schema files!
> > 
> > I think the issue I have mentioned earlier ( xmlns="") is caused by the fact that
the schema
> > do not have the following property set:
> > elementFormDefault="qualified"
> > 
> > I hope that helps!!
> > Eric
> This is the generated request (xmlbeans): 
> <getPersonRequest xmlns="http://services.emea.corpds.net/partner/64">
>   <header xmlns="">
>     <source>Glace4</source>
>     <userId>zmbf1ng</userId>
>   </header>
>   <request xmlns="">
>     <personId>352072</personId>
>   </request>
> </getPersonRequest>
> this is my stack trace:
> 	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:645)
> 	at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:186)
> 	at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:72)
> 	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:333)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:198)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:144)
> 	at com.dcbank.partneraccessservice.service.PartnerAccessServiceStub.getPerson(PartnerAccessServiceStub.java:984)
> 	at com.dcbank.eai.glace.test.PASClient.main(PASClient.java:49)
> Thanks in advance,
> Bernd

-- 
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