Like to thank everyone for their reply.. After working with both cf6.1
and cf7, i have resigned to the fact that cf was never built to take
web services seriously. I have had to hand craft the soap request as
outlined in the link below:

http://www.coldfusiondeveloper.com.au/go/news/by/russ-michaels/20070518-coldfusion-web-services-and-soap/

On Jun 10, 5:43 pm, "skateboard.com.au" <[EMAIL PROTECTED]>
wrote:
> from my limited knowledge
>
> Axis/CFMX 6.* cant consume or deliver document literal webservices (the
> standard used widely by microsoft)
>
> I have had to write all my soap/xml "maunally" and transmit via cfhttp
> to get it to work.
>
> cheers
>
> Drew Peacock
>
> -----Original Message-----
> From: "CyberAngel" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Date: Tue, 10 Jun 2008 17:36:47 +1000
> Subject: [cfaussie] Re: consuming a web service from CFMX6.1
>
> > I am not sure this is your problem or not, but it may help.
>
> > When connecting to the Java webservice, I found in those days (not sure
> > of
> > these days) that you had to pass the arguments and the returned
> > definitions
> > in the connection url for the web service.
>
> > The clue which I missed was the fact it complained similar to the below
> > error. But also with the likes of missing attribute or something like
> > that.
>
> > Probably not even close to your problem.
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED] On
> > Behalf
> > Of theog
> > Sent: Tuesday, 10 June 2008 5:26 PM
> > To: cfaussie
> > Subject: [cfaussie] consuming a web service from CFMX6.1
>
> > Hi ,
>
> >     Having strayed from the flock.. not quite to the dark side of .Net
> > but to Java, It has been sometime since I have contributed on this
> > forum. I hope I'm not ex-communicated and someone is nice enough to
> > answer my question?
>
> >      We are still using CFMX6.1 to host some "legacy" apps, and I have
> > been tasked to switch an application over to calling a web service
> > written in java using CFX implementation.
>
> >     I have tried to consume/call a simple method from code and from
> > within cf-admin and it throws the following exception [ Could not
> > generate stub objects for web service invocation.].
>
> >    Looking at the MX 6.1 documentation it appears as if CFMX6.1
> > supports document as the SOAP binding style and literal as the
> > encoding Style.
>
> > Sample wsdl below :
>
> >    <wsdl:definitions name="UserServiceEndpointService"
> > targetNamespace="http://api.user.services.company.com/";>
> > <wsdl:import location="http://hostedsite/user-ws/services/user?
> > wsdl=UserServicePort.wsdl" namespace="http://soap.companycom/user";>
> >     </wsdl:import>
> > -
> >    <wsdl:binding name="UserServiceEndpointServiceSoapBinding"
> > type="ns1:UserServicePort">
> > <soap:binding style="document" transport="http://schemas.xmlsoap.org/
> > soap/http"/>
> > -
> >    <wsdl:operation name="changePassword">
> > <soap:operation soapAction="" style="document"/>
> > -
> >    <wsdl:input name="changePassword">
> > <soap:body use="literal"/>
> > </wsdl:input>
> > -
> >    <wsdl:output name="changePasswordResponse">
> > <soap:body use="literal"/>
> > </wsdl:output>
> > -
> >    <wsdl:fault name="UserServiceException">
> > <soap:fault name="UserServiceException" use="literal"/>
> > </wsdl:fault>
>
> > Is anyone able to help? , does CFMX have a compatibility issue?
>
> > Theo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to