[Mashup-dev] [jira] Updated: (MASHUP-1050) Generated stubs are faulty when localhost=true and JMS transport is enabled
Keith Godwin Chapman (JIRA)
jira at wso2.org
Sun Aug 3 08:25:53 PDT 2008
[ https://wso2.org/jira/browse/MASHUP-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Godwin Chapman updated MASHUP-1050:
-----------------------------------------
Attachment: stub.js
> Generated stubs are faulty when localhost=true and JMS transport is enabled
> ---------------------------------------------------------------------------
>
> Key: MASHUP-1050
> URL: https://wso2.org/jira/browse/MASHUP-1050
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Reporter: Keith Godwin Chapman
> Assignee: Jonathan Marsh
> Fix For: 1.5.1
>
> Attachments: localhost_stub.js, service.wsdl2, stub.js
>
>
> When the JMS transport is enabled its endpoint address is of the form
> jms:/keith-service?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616
> When a stub is generated in this case with localhost=true the the address drops the port and generates addresses of the form (http://localhost:7762/services/keith/service?stub&lang=e4x&localhost=true&content-type=text/plain)
> "address" : "jms:/keith-service?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost/",
> Note that the port is missing at the end. Using the stub without the localhost option solves the issue (http://localhost:7762/services/keith/service?stub&lang=e4x&content-type=text/plain) and generates addresses of the form
> "address" : "jms:/keith-service?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616",
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Mashup-dev
mailing list