[ 
https://issues.apache.org/jira/browse/AXIS2-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582783#action_12582783
 ] 

Davanum Srinivas commented on AXIS2-3673:
-----------------------------------------

Hmm, if i take out xalan jar i see this output - 

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
        <soapenv:Body>
                <dlwmin:getTicketResponse 
xmlns:dlwmin="http://calculator.jaxws.axis2.apache.org";>
                        <EndpointReference 
xmlns="http://www.w3.org/2005/08/addressing";>
                                
<Address>http://192.168.2.102:8080/axis2/services/CalculatorService.CalculatorServicePort</Address>
                                <ReferenceParameters>
                                        <TicketId:TicketId 
xmlns:wsa="http://www.w3.org/2005/08/addressing"; 
xmlns="http://calculator.jaxws.axis2.apache.org"; 
xmlns:TicketId="http://calculator.jaxws.axis2.apache.org";>123456789</TicketId:TicketId>
                                </ReferenceParameters>
                                <Metadata>
                                        <wsam:ServiceName xmlns="" 
xmlns:ns5="http://www.w3.org/2005/08/addressing"; 
xmlns:wsa="http://www.w3.org/2005/08/addressing"; 
xmlns:axis2ns1="http://calculator.jaxws.axis2.apache.org"; 
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"; 
EndpointName="CalculatorServicePort">axis2ns1:CalculatorService</wsam:ServiceName>
                                </Metadata>
                        </EndpointReference>
                </dlwmin:getTicketResponse>
        </soapenv:Body>
</soapenv:Envelope>


> JAXWS Addressing Calculator does not work.
> ------------------------------------------
>
>                 Key: AXIS2-3673
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3673
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Davanum Srinivas
>            Assignee: Brian DePradine
>            Priority: Blocker
>             Fix For: 1.4
>
>
> Brian,
> When i run "org.apache.axis2.jaxws.calculator.client.AddSEIClient  2 3" i get 
> the following stack trace
> log4j:WARN No appenders could be found for logger 
> (org.apache.axis2.metadata.registry.MetadataFactoryRegistry).
> log4j:WARN Please initialize the log4j system properly.
> javax.xml.ws.WebServiceException: An attempt was made to construct the 
> ServiceDelegate object with an service name that is not valid: .
>         at 
> org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
>         at 
> org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
>         at 
> org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
>         at 
> org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.java:198)
>         at org.apache.axis2.jaxws.spi.Provider.getPort(Provider.java:132)
>         at javax.xml.ws.EndpointReference.getPort(EndpointReference.java:39)
>         at 
> org.apache.axis2.jaxws.calculator.client.AddSEIClient.main(AddSEIClient.java:31)
> Looks like the EPR that is returned in the getTicket has problems.
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Body>
>               <dlwmin:getTicketResponse 
> xmlns:dlwmin="http://calculator.jaxws.axis2.apache.org";>
>                       <EndpointReference 
> xmlns="http://www.w3.org/2005/08/addressing";>
>                               
> <Address>http://192.168.2.102:8080/axis2/services/CalculatorService.CalculatorServicePort</Address>
>                               <ReferenceParameters>
>                                       <TicketId:TicketId 
> xmlns="http://calculator.jaxws.axis2.apache.org"; 
> xmlns:TicketId="http://calculator.jaxws.axis2.apache.org";>123456789</TicketId:TicketId>
>                               </ReferenceParameters>
>                               <Metadata>
>                                       <wsam:ServiceName xmlns="" 
> xmlns:ns3="http://www.w3.org/2005/08/addressing"; 
> xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"; 
> EndpointName="CalculatorServicePort">axis2ns1:CalculatorService</wsam:ServiceName>
>                               </Metadata>
>                       </EndpointReference>
>               </dlwmin:getTicketResponse>
>       </soapenv:Body>
> </soapenv:Envelope>

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