HTTPMixIn.postResource(String,String) method throws NPE if it is used outside of SY test like this:
publicstatic void main(finalString[] ignored) throws Exception {
HTTPMixIn soapMixIn = new HTTPMixIn();
soapMixIn.initialize();
String result = soapMixIn.postResource(URL, XML);
The error looks like the following:
Exception in thread "main" java.lang.NullPointerException
at org.switchyard.component.test.mixins.http.HTTPMixIn.postResource(HTTPMixIn.java:246)
at org.switchyard.quickstarts.publish.as.webservice.WebServiceClient.main(WebServiceClient.java:29)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira