axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Fernández (JIRA) <j...@apache.org>
Subject [jira] Commented: (AXIS2-2586) addressing exception
Date Tue, 24 Apr 2007 12:42:15 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491263
] 

Jorge Fernández commented on AXIS2-2586:
----------------------------------------

Hi David,

I'm not setting MessageContext.isServerSide() in my client. I had just installed axis2 1.2
RC-2 and did no changes to the configuration. So I don't know what's wrong.

This issue is related to the message from the axis-user mailing list "Issue with ADB and parsing
a response message (namespaces)".

The client and the skeleton for both XMLBeans and ADB as well as the WSDL from wich I generate
the code are attached to the JIRA AXIS2-2578.

I use these commands to generate them:
wsdl2java -uri API.wsdl -o out\ -p api -ss -sd -d adb -g -sn API -pn APISOAP12port -ns2p http://api=api,http://api.op_messages/xsd=api.op_messages.xsd,http://schemas.xmlsoap.org/wsdl/soap=org.xmlsoap.schemas.wsdl.soap,http://schemas.xmlsoap.org/wsdl=org.xmlsoap.schemas.wsdl,http://schemas.xmlsoap.org/wsdl/soap12/=schemas.xmlsoap.org.wsdl.soap12,http://schemas.xmlsoap.org/wsdl/mime/=schemas.xmlsoap.org.wsdl.mime,http://schemas.xmlsoap.org/wsdl/http/=schemas.xmlsoap.org.wsdl.http
-ssi
wsdl2java -uri API.wsdl -o out\ -p api -ss -sd -d xmlbeans -g -sn API -pn APISOAP12port -ns2p
http://api=api,http://api.op_messages/xsd=api.op_messages.xsd,http://schemas.xmlsoap.org/wsdl/soap=org.xmlsoap.schemas.wsdl.soap,http://schemas.xmlsoap.org/wsdl=org.xmlsoap.schemas.wsdl,http://schemas.xmlsoap.org/wsdl/soap12/=schemas.xmlsoap.org.wsdl.soap12,http://schemas.xmlsoap.org/wsdl/mime/=schemas.xmlsoap.org.wsdl.mime,http://schemas.xmlsoap.org/wsdl/http/=schemas.xmlsoap.org.wsdl.http
-ssi

Regards,

Jorge

> addressing exception 
> ---------------------
>
>                 Key: AXIS2-2586
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2586
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>         Environment: Windows XP SP2, Axis2 1.2 RC-2,  Java 1.6
>            Reporter: Jorge Fernández
>
> I get the following exception when using XMLBeans or ADB at client or server side. The
response message is below. Files I used when I got this exception are the same from JIRA AXIS2-2578
> org.apache.axis2.AxisFault: A header representing a Message Addressing Property is not
valid and the message cannot be processed
>     at org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:150)
>     at org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionMismatchFault(AddressingFaultsHelper.java:81)
>     at org.apache.axis2.handlers.addressing.AddressingInHandler.extractActionInformation(AddressingInHandler.java:276)
>     at org.apache.axis2.handlers.addressing.AddressingInHandler.extractAddressingInformation(AddressingInHandler.java:159)
>     at org.apache.axis2.handlers.addressing.AddressingInHandler.invoke(AddressingInHandler.java:95)
>     at org.apache.axis2.engine.Phase.invoke(Phase.java:383)
>     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:203)
>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:131)
>     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:378)
>     at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
>     at api.APIStub.getDetailedMonitoringStages(APIStub.java:154)
>     at api.Client.main(Client.java:35)
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Type: application/soap+xml; action="http://api/APIPortType/getDetailedMonitoringStagesResponse";charset=UTF-8
> Transfer-Encoding: chunked
> Date: Mon, 23 Apr 2007 20:12:46 GMT
> 1c30
> <?xml version='1.0' encoding='UTF-8'?>
>    <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
>       <soapenv:Header>
>          <wsa:Action>http://api/APIPortType/getDetailedMonitoringStagesResponse</wsa:Action>
>          <wsa:RelatesTo>urn:uuid:398A7A6CF14E62B7611177359166024</wsa:RelatesTo>
>       </soapenv:Header>
>       <soapenv:Body>
>          <getDetailedMonitoringStagesResponse xmlns="http://op_messages.api/xsd">
>             <return>
>                <stageID xmlns="http://api/xsd">0</stageID>
>                <configurations xmlns="http://api/xsd">
>                   <abstractParameters>
>                      <name>abstract0</name>
>                      <parameterDependencies>
>                         <name>primitive0</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>primitiveType0</type>
>                         <units>units0</units>
>                         <max>2</max>
>                         <min>1</min>
>                      </parameterDependencies>
>                      <parameterDependencies>
>                         <name>abstract1</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>abstractType1</type>
>                         <values>value0</values>
>                         <values>value1</values>
>                      </parameterDependencies>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType0</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <abstractParameters>
>                      <name>abstract1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType1</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <id>0</id>
>                   <primitiveParameters>
>                      <name>primitive0</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType0</type>
>                      <units>units0</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                   <primitiveParameters>
>                      <name>primitive1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType1</type>
>                      <units>units1</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                </configurations>
>                <configurations xmlns="http://api/xsd">
>                   <abstractParameters>
>                      <name>abstract0</name>
>                      <parameterDependencies>
>                         <name>primitive0</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>primitiveType0</type>
>                         <units>units0</units>
>                         <max>2</max>
>                         <min>1</min>
>                      </parameterDependencies>
>                      <parameterDependencies>
>                         <name>abstract1</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>abstractType1</type>
>                         <values>value0</values>
>                         <values>value1</values>
>                      </parameterDependencies>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType0</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <abstractParameters>
>                      <name>abstract1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType1</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <id>1</id>
>                   <primitiveParameters>
>                      <name>primitive0</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType0</type>
>                      <units>units0</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                   <primitiveParameters>
>                      <name>primitive1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType1</type>
>                      <units>units1</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                </configurations>
>                <type xmlns="http://api/xsd">type0</type>
>             </return>
>             <return>
>                <stageID xmlns="http://api/xsd">1</stageID>
>                <configurations xmlns="http://api/xsd">
>                   <abstractParameters>
>                      <name>abstract0</name>
>                      <parameterDependencies>
>                         <name>primitive0</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>primitiveType0</type>
>                         <units>units0</units>
>                         <max>2</max>
>                         <min>1</min>
>                      </parameterDependencies>
>                      <parameterDependencies>
>                         <name>abstract1</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>abstractType1</type>
>                         <values>value0</values>
>                         <values>value1</values>
>                      </parameterDependencies>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType0</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <abstractParameters>
>                      <name>abstract1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType1</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <id>0</id>
>                   <primitiveParameters>
>                      <name>primitive0</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType0</type>
>                      <units>units0</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                   <primitiveParameters>
>                      <name>primitive1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType1</type>
>                      <units>units1</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                </configurations>
>                <configurations xmlns="http://api/xsd">
>                   <abstractParameters>
>                      <name>abstract0</name>
>                      <parameterDependencies>
>                         <name>primitive0</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>primitiveType0</type>
>                         <units>units0</units>
>                         <max>2</max>
>                         <min>1</min>
>                      </parameterDependencies>
>                      <parameterDependencies>
>                         <name>abstract1</name>
>                         <signalDependencies>
>                            <name>signal0</name>
>                         </signalDependencies>
>                         <signalDependencies>
>                            <name>signal1</name>
>                         </signalDependencies>
>                         <type>abstractType1</type>
>                         <values>value0</values>
>                         <values>value1</values>
>                      </parameterDependencies>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType0</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <abstractParameters>
>                      <name>abstract1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>abstractType1</type>
>                      <values>value0</values>
>                      <values>value1</values>
>                   </abstractParameters>
>                   <id>1</id>
>                   <primitiveParameters>
>                      <name>primitive0</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType0</type>
>                      <units>units0</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                   <primitiveParameters>
>                      <name>primitive1</name>
>                      <signalDependencies>
>                         <name>signal0</name>
>                      </signalDependencies>
>                      <signalDependencies>
>                         <name>signal1</name>
>                      </signalDependencies>
>                      <type>primitiveType1</type>
>                      <units>units1</units>
>                      <max>2</max>
>                      <min>1</min>
>                   </primitiveParameters>
>                </configurations>
>                <type xmlns="http://api/xsd">type1</type>
>             </return>
>          </getDetailedMonitoringStagesResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>0

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