[JBoss JIRA] Created: (JBWS-2089) isXOPPackage() is returning an incorrect value
by David Boeren (JIRA)
isXOPPackage() is returning an incorrect value
----------------------------------------------
Key: JBWS-2089
URL: http://jira.jboss.com/jira/browse/JBWS-2089
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-2.0.3
Reporter: David Boeren
I am trying to pass an mtom/xop attachment on a webservice call, but the attachment is not being correctly received. When I step through the JbossWS code, it gets to the org.jboss.ws.extensions.xop.jaxws.AttachmentUnmarshallerImpl class. When the isXOPPackage() method is called, the return value is false, so the getAttachmentAsDataHandler() method never gets called. If I force the isXOPPackage() to return true, then getAttachmentAsDataHandler() is called, and I can see the attachment data in the web method. So, it looks as if there is a bug in isXOPPackage() which is preventing it from recognizing the attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (JBWS-1714) CLONE - Verify correct bahaviour of @WebService.wsdlLocation
by Heiko Braun (JIRA)
CLONE - Verify correct bahaviour of @WebService.wsdlLocation
------------------------------------------------------------
Key: JBWS-1714
URL: http://jira.jboss.com/jira/browse/JBWS-1714
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-jaxws
Reporter: Heiko Braun
Assigned To: Thomas Diesler
Fix For: jbossws-2.0.0
I get a wsdl now but it is not the one I defined in my wsdlLocation value in the endpoint interface in the wsdlLocation javax.jws.WebService annotation. I get datetime types set to anySimpleType and all my enumerations have camel case now like this - dropOffType - rather than DropOffType like in the wsdl. I believe a wsdl is being generated still.
How do I generate and deploy a web service and have jboss use the wsdl I supply in the war?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (JBWS-2077) Provide JMS Binding in generated WSDL
by Thomas Diesler (JIRA)
Provide JMS Binding in generated WSDL
--------------------------------------
Key: JBWS-2077
URL: http://jira.jboss.com/jira/browse/JBWS-2077
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jbossws-native
Reporter: Thomas Diesler
Fix For: jbossws-3.x
Currently, the client will have to use the JMS API directly
InitialContext context = new InitialContext();
QueueConnectionFactory connectionFactory = (QueueConnectionFactory)context.lookup("ConnectionFactory");
Queue reqQueue = (Queue)context.lookup("queue/RequestQueue");
Queue resQueue = (Queue)context.lookup("queue/ResponseQueue");
QueueConnection con = connectionFactory.createQueueConnection();
QueueSession session = con.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
QueueReceiver receiver = session.createReceiver(resQueue);
ResponseListener responseListener = new ResponseListener();
receiver.setMessageListener(responseListener);
con.start();
TextMessage message = session.createTextMessage(reqMessage);
message.setJMSReplyTo(resQueue);
waitForResponse = true;
QueueSender sender = session.createSender(reqQueue);
sender.send(message);
sender.close();
int timeout = 5000;
while (waitForResponse && timeout > 0)
{
Thread.sleep(100);
timeout -= 100;
}
assertNotNull("Expected response message", responseListener.resMessage);
assertEquals(DOMUtils.parse(resMessage), DOMUtils.parse(responseListener.resMessage));
con.stop();
session.close();
con.close();
Instead, the client should use the standard JAX-WS API to consume a wsdl that defines the jms binding
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months