Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
shantan #1
using ASP.NET WEB SERVICE in ColdFusion
html>
<body>
<cfinvoke
webservice="http://10.16.16.69/Webservice9/service1.asmx?wsd"
method="AccountCreation"
seqID="27"
returntype="">
I tried other method also still same issues
</cfinvoke>
<cfinvokeargument name="seqID" value="2"/> returnvariable=""------>
<!--<cfoutput>testing</cfoutput>-->
</body>
</html>
shantan Guest
-
Coldfusion Server Service will not start
I am having trouble getting Cold Fusion Server's service to start. I get a lot of these errors under the server.log: ... -
Coldfusion Service restarting almost twice a day
Hi, i have the following configuration: 1 Intel based server Server with 4 CPUs 2,2 4GB Memory Windows 2000 SP4, hotfixes & security patches... -
Need Help In CONSUMING ASP.NET WEB SERVICE FROM COLDFUSION
Please help me to How to CALL from Cold fusion to ASP WEB SERVICE which developed in .NET Environment. I have developed a ASP WEB SERVICE in... -
Calling ASP.NET WEB SERVICE FROM COLDFUSION
I used simply calling ASP.NET WEB SERVICE FROM COLDFUSION. I a describing the way I called. <html> <body> <!---cfobject... -
Web service for ColdFusion MX consumption
I need to create some services for an application that needs to be called from a ColdFusion MX software. What is the best/easiest way to return a... -
Tom Jordahl #2
Re: using ASP.NET WEB SERVICE in ColdFusion
What is the error? What does the WSDL look like?
The URL should probably have "?wsdl" on the end, not "?wsd".
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
shantan #3
Re: using ASP.NET WEB SERVICE in ColdFusion
I checked I used only wsd on end of link.
I get following error!
Could not generate stub objects for web service invocation.
Name: [url]http://10.16.16.69/Webservice9/service1.asmx?wsd[/url]. WSDL:
[url]http://10.16.16.69/Webservice9/service1.asmx?wsd[/url]. org.xml.sax.SAXException:
Fatal Error: URI=null Line=63: Expected "
" to terminate element starting on line 61. 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.
The error occurred in C:\Inetpub\wwwroot\supporthome\OSSAcct\Muralifinal .cfm:
line 9
7 : method="AccountCreation"
8 : seqID="27"
9 : returntype="">
10 : </cfinvoke>
11 : <!---<cfinvokeargument name="RequestID" value="2"/>
returnvariable=""------>
shantan Guest
-
shantan #4
Re: using ASP.NET WEB SERVICE in ColdFusion
I get following errors after changng to wsdl. Please reply
Web service operation "AccountCreation" with parameters {seqID={27},} could
not be found.
The error occurred in C:\Inetpub\wwwroot\supporthome\OSSAcct\Murali2.cfm : line
10
8 : method="AccountCreation"
9 : returnvariable="">
10 : <cfinvokeargument name="seqID" value="27">
11 : </cfinvoke>
12 : <!--<cfoutput>testing</cfoutput>-->
shantan Guest
-
shantan #5
Re: using ASP.NET WEB SERVICE in ColdFusion
I get strange error
Could not perform web service invocation "AccountCreation" because AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode:
faultString: Server was unable to process request. --> Object reference not set
to an instance of an object. faultActor: faultNode: faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString:
Server was unable to process request. --&gt; Object reference not set to an
instance of an object. faultActor: faultNode: faultDetail: Server was unable to
process request. --> Object reference not set to an instance of an object. at
org.apache.axis.message.SOAPFaultBuilder.createFau lt(SOAPFaultBuilder.java:260)
at
org.apache.axis.message.SOAPFaultBuilder.endElemen t(SOAPFaultBuilder.java:169)
at
org.apache.axis.encoding.DeserializationContextImp l.endElement(DeserializationCo
ntextImpl.java:1015) at
org.apache.crimson.parser.Parser2.maybeElement(Par ser2.java:1675) at
org.apache.crimson.parser....
shantan Guest
-
Tom Jordahl #6
Re: using ASP.NET WEB SERVICE in ColdFusion
This is an error being returned from your server.
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
-
merlinox #8
Re: using ASP.NET WEB SERVICE in ColdFusion
I had same error.
It was caused by Application.cfm
I move my cfc on a Subfolder with an empty Application.cfm and all works good
Originally posted by: shantan
I get strange error
Could not perform web service invocation "AccountCreation" because AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode:
faultString: Server was unable to process request. --&gt; Object reference
not set to an instance of an object. faultActor: faultNode: faultDetail: Server
was unable to process request. --> Object reference not set to an instance of
an object. at
org.apache.axis.message.SOAPFaultBuilder.createFau lt(SOAPFaultBuilder.java:260)
at
org.apache.axis.message.SOAPFaultBuilder.endElemen t(SOAPFaultBuilder.java:169)
at
org.apache.axis.encoding.DeserializationContextImp l.endElement(DeserializationCo
ntextImpl.java:1015) at
org.apache.crimson.parser.Parser2.maybeElement(Par ser2.java:1675) at
org.apache.crimson.parser....
merlinox Guest
-
mlcox #9
Re: using ASP.NET WEB SERVICE in ColdFusion
Did anyone ever figure out what this error is? I get the same error and have not been able to figure out why.
Thanks
MCox
mlcox Guest
-
AnXiao #10
Re: using ASP.NET WEB SERVICE in ColdFusion
in my case it was a problem with the soap request being sent to the server we used the get soaprequest and getsoapresponse functions in CFMX7 to solve the issue
AnXiao Guest
-
Unregistered #11
Re: using ASP.NET WEB SERVICE in ColdFusion
There could be two problems:
1. You did not add the webservice to the administrator of coldfusion i.e in the coldfusion server u need to add the url?WDSL, so that your cfinvoke recoginizes it.
2. Your sever ColdFusion server uses Axis 1 and the SOAP is using Axis 2, in this case u either need to change ur SOAP webserice (.net or whatever to Axsis 1).
Now comes the solution part:
1. First go to your coldusion server add the webservice url (not the method url) in url?WSDL format
try to use CFinvoke, if it works bingo. If it does not (u might see an error while adding the webservice in the server itself, in that case please see the second one)
2. Now, now, now u cannot do it the coldfusion way, i.e the coldfusion is axis 1 and u need axiz 2, change the .Net or SOAP webservice to axis 1 and the follow step 1
3. Well in some cases that is not possible, u cannot change the webservice to axis 1 (sometimes its not in your hand u see, it could be controlled by someone else), in THIS case write a script and in that script invoke a java webserice call, this will interact with ur webservice (all u need is a JVM) and try to run this script as per ur convinence say once in every 5 mins or so.
Hope this helpsUnregistered Guest



Reply With Quote

