Skip to main content
Participant
June 2, 2008
Question

Consuming Web Service--endpoint different from wsdl

  • June 2, 2008
  • 2 replies
  • 331 views
In every example of using cfinvoke to consume a web service, the path entered is that of the wsdl. in this service, the endpoint is not at the same path, so i get an error. It's on an intranet server, so i can't give you the opportunity to experiment.

i need a way to enter the path of the endpoint.

The wsdl path is http://lxdnd880.dev.qintra.com:59999/Services/iProcessServices.serviceagent?wsdl

The endpoint is http://lxdnd880.dev.qintra.com:59999/Services/iProcessServices.serviceagent/ServicesEndpoint

Below is the typical cfinvoke example.
This topic has been closed for replies.

2 replies

Inspiring
July 23, 2008
1. Use the wsdl2java tool to create java classes based on the WSDL, then invoke the java classes.
http://www.adobe.com/go/eaf0396
http://cfdj.sys-con.com/read/86131.htm


2. use a cfhttp call to the web service URL. This might involve creating your own SOAP xml payload if the web service doesn't support form posts.
Participant
July 23, 2008
Were you ever to get this working using CFINVOKE? We've encountered the same situation a few times and never found a way to make it work without using CFHTTP instead.

We'd love a simple solution to this as it appears to becoming more common place for the end points to differ or for the WSDL file to be part of the API docs and not available directly online.
tcjohn3Author
Participant
July 23, 2008
I have not found a solution. It's forcing a move to .NET or Tibco, so I'm hoping someone will have a solution.

Thanks