[jbosstools-issues] [JBoss JIRA] (JBIDE-17670) Web Service Tester: JAX-WS request doesn't contain definition of SOAPAction

Brian Fitzpatrick (JIRA) issues at jboss.org
Tue Jun 24 14:00:26 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979017#comment-12979017 ] 

Brian Fitzpatrick commented on JBIDE-17670:
-------------------------------------------

The code to call the service looks like this:

{code}
		Dispatch<SOAPMessage> d = s.createDispatch(messageQName, SOAPMessage.class, Mode.MESSAGE);
		
		MessageFactory mf = MessageFactory.newInstance();
		if (isSOAP12) {
			mf = MessageFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL);
		} else if (actionurl != null && !actionurl.trim().isEmpty()){
			d.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, true);
			d.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY, actionurl); //"http://www.ecubicle.net/webservices/GetSearchResults");
		}
{code}

I've tried a boolean "true",  new Boolean(true) and a Boolean.TRUE as the value for SOAPACTION_USE_PROPERTY, and always get the same response.

> Web Service Tester: JAX-WS request doesn't contain definition of SOAPAction
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-17670
>                 URL: https://issues.jboss.org/browse/JBIDE-17670
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Radoslav Rábara
>            Assignee: Brian Fitzpatrick
>            Priority: Critical
>             Fix For: 4.2.0.Beta3
>
>




--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the jbosstools-issues mailing list