You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/27 20:15:24 UTC

[jira] Created: (AXIS2-3673) JAXWS Addressing Calculator does not work.

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


[jira] Commented: (AXIS2-3673) JAXWS Addressing Calculator does not work.

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3673) JAXWS Addressing Calculator does not work.

Posted by "Brian DePradine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582799#action_12582799 ] 

Brian DePradine commented on AXIS2-3673:
----------------------------------------

Hmm, there do seem to be a few odd interactions here. The dlwmin prefix, for instance, seems to indicate that the DocLitWrappedMinimalMethodMarshaller is being used. According to the comments in the class, this should only called if 1) the web service is Doc/Lit Wrapped, and 2) the wrapper and fault bean objects are missing. However, the wrapper and fault bean objects are included in the application, but they aren't being picked up for some reason.

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


[jira] Resolved: (AXIS2-3673) JAXWS Addressing Calculator does not work.

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-3673.
-------------------------------------

    Resolution: Fixed

Added a warning in readme about removing xalan - svn revision 642057.

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