Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
JpShields #1
Problem with consuming document/literal web services.
I'm having problems consuming a document literal web service with <cfinvoke> in
a CFM page. I'm receiving the following error.
Could not generate stub objects for web service invocation.
Name: [url]http://xxxxxxx[/url]. WSDL: [url]http://xxxxxxxxxxxxxx[/url].
java.lang.NullPointerException It is recommended that you use a web browser to
retrieve and examine the requested WSDL document for correctness. If the
requested WSDL document can't be retrieved or it is dynamically generated, it
is likely that the target web service has programming errors.
I retrieved the WSDL through the browser with out issue. Is there anything
else I can do? I can easily consume RPC-encoded but I can't get data back from
document-literal. Any help with consuming them instead of just publishing them
would be great!
Thank you
JpShields Guest
-
RPC/Encoded to Document/Literal Conversion
How do we convert an RPC/Encoded WSDL to a Document/Literal WSDL? Do any tools exist? -
HTTPS problem consuming a web services
I am having a problem getting web services to make a wsdl HTTPS call using the following setup: ColdFusion server - MX Enterprise version... -
Document-literal style web services
I created a simple web service that returns a query (Querybean). It works great! Now, I'm being told that I have to use an XML schema that was... -
Document-literal web services
I created a simple web service that returns a query (Querybean). It works great! Now, I'm being told that I have to use an XML schema that was... -
Creating a Document-Literal Web Service
I'm trying to help a customer set up a Document Literal service under his CF environment. I'll be calling from an Axis/Castor client, but I'm not... -
-
shoalwater #3
Re: Problem with consuming document/literal webservices.
Hey,
Whenever I get this problem, it's because the reference to the wsdl file is
wrong. When a web service is called the first time it generates stub objects,
which consist of a directory and class files, etc, on the service host's web
server. If CF can't find the service, it informs the requester that it
couldn't generate the stub objects. It would be much more helpful if the error
message read: 'couldn't find the web service specified in the invokation needed
to generate the stub objects' or something.
Just double check your URL and see if it is going to
[url]http://www.mydomain.com/coolservice.cfc?wsdl[/url]
Most people forget the ?wsdl
shoalwater Guest



Reply With Quote

