Issue Type: Enhancement Enhancement
Affects Versions: 0.8
Assignee: Unassigned
Components: test
Created: 18/Jun/13 9:00 AM
Description:

HTTPMixIn.postResource(String,String) method throws NPE if it is used outside of SY test like this:

    public static void main(final String[] 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)

Please make this method usable outside of test.

Project: SwitchYard
Priority: Minor Minor
Reporter: Tadayoshi Sato
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