[jboss-user] [JBoss Web Services] - jboss 5.1 and coldfusion webservice

steve DeWitt do-not-reply at jboss.com
Fri Aug 13 17:55:21 EDT 2010

steve DeWitt [http://community.jboss.org/people/stevewdewitt] created the discussion

"jboss 5.1 and coldfusion webservice"

To view the discussion, visit: http://community.jboss.org/message/557382#557382

I have a coldfusion 8 webservice that returns an array

    <cffunction access="remote" name="testMethod" returntype="array">
        <cfset myArray = ArrayNew(1)>
        <cfset myArray[1] = "Steve">
        <cfreturn myArray/>

I am using jboss 5.1 GA community with Jbossws 3.2.2.GA consuming the service. The stubs are being built with axis 1.4

            VerityService_Service locator = new VerityService_Service(verityServiceURL,new QName(" http://webservices http://webservices", "verityService"));
            ChunkedEncodingFeature feature = new ChunkedEncodingFeature(false);

            VerityService verityService = locator.getVerityServiceCfc(feature);
            List<Object> helloWorld = verityService.testMethod();

if I call this from a coldfusion page I get a nice array. If I call it from my java code running on the jboss server it returns: [[testMethodReturn: null]]

I used wireshark and sniffed the http protocol and I get an xml packet:

    <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance">
    <testMethodResponse xmlns=" http://webservices http://webservices">
     <testMethodReturn xsi:type="xsd:string">Steve</testMethodReturn>

A very similiar but a little more useful webservice has been working fine with jboss 4.0.2 for a few years now and we are just migrating to jboss 5.1 and this is happening.

Anyone have a similiar issue


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100813/9135e1aa/attachment.html 

More information about the jboss-user mailing list