Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
dengibtsicherned #1
Webservice BUG faultCode=INVALID_WSDL
Hi all,
I've done a webservice and always get this error:
Could not generate stub objects for web service invocation.
Name: [url]https://www.not_my_server.com/bin/secure/at/etpproxy_v12[/url]. WSDL:
[url]https://www.not_my_server.com/bin/secure/at/etpproxy_v12[/url]. WSDLException (at
/SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element
'{http://schemas.xmlsoap.org/wsdl/}definitions'.: 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 D:\Inetpub\wwwroot\Webservice.cfm: line 24
22 : returnVariable = "myResult">
23 : <cfinvokeargument name="card" value="#card#">
24 : <cfinvokeargument name="request" value="#request#">
25 : </cfinvoke>
26 :
Please try the following:
* Check the ColdFusion documentation to verify that you are using the
correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8)
Gecko/20050511 Firefox/1.0.4
Remote Address 192.168.0.124
Referrer
Date/Time 01-Jul-05 02:50 PM
Stack Trace
at
cfmp24Webservice2ecfm1371181199.runPage(D:\Inetpub \wwwroot\Webservice.cfm:24)
at cfmp24Webservice2ecfm1371181199.runPage(D:\Inetpub \wwwroot\Webservice.cfm:24)
WSDLException (at /SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected
element '{http://schemas.xmlsoap.org/wsdl/}definitions'.:
at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(U nknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(U nknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.popul ate(SymbolTable.java:406)
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:27 3)
at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.ja va:402)
at coldfusion.xml.rpc.XmlRpcServiceImpl$1.run(XmlRpcS erviceImpl.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebSe rvice(XmlRpcServiceImpl.java:1
96)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService (XmlRpcServiceImpl.java:464)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService Proxy(XmlRpcServiceImpl.java:4
08)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTa g.java:362)
at
cfmp24Webservice2ecfm1371181199.runPage(D:\Inetpub \wwwroot\mp24Webservice.cfm:24
)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357)
at coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:62)
at coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:107)
at coldfusion.filter.PathFilter.invoke(PathFilter.jav a:80)
at coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:47)
at
coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilt
er.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:35)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:43)
at coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:249)
at jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable( JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invok eRunnable(ThreadPool.java:318)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:426)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)
What could be the problem?
please help
Charlie
dengibtsicherned Guest
-
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand
¾È³çÇϼ¼¿ä? Hi Everybody MustUnderstand ¿¡·¯·Î ÀÎÇØ Because of an Error with MustUnderstand client-config.wsdd ÆÄÀϰú server-config.wsdd... -
Can a webservice call another webservice?
Hi all, I want one WebService I have, say on a server in Los Angeles, to call methods I have in a 2nd WebService on another server, say in New... -
Calling a webservice from a webservice
Well, I dont really want to call a webservice, but the class that I need is in a webservice and I dont see the need for serialization if I am... -
How to communicates with another webservice with another webservice
H I have a task to write a webservice which communicates with another webservice and gets all the methods of that webservice So can i get those ... -
Webservice calling a webservice.....Error
Hi Ihave a strange problem .....or?? On one machine 1 i have a webservice A calling an other webservice B on a other machine 2 . the B service are... -
Stressed_Simon #2
Re: Webservice BUG faultCode=INVALID_WSDL
Request is a reserved word as it is one of ColdFusion's scope. Try using a different argument and variable name and that might solve the problem!
Stressed_Simon Guest
-
dengibtsicherned #3
Re: Webservice BUG faultCode=INVALID_WSDL
Hi,
thx for helping me.
I've renamed the variable, but the bug is the same:
Could not generate stub objects for web service invocation.
Name: [url]https://www.not_my_server.com/bin/secure/at/etpproxy_v12[/url]. WSDL:
[url]https://www.not_my_server.com/bin/secure/at/etpproxy_v12[/url]. WSDLException (at
/SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element
'{http://schemas.xmlsoap.org/wsdl/}definitions'.: 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 D:\Inetpub\wwwroot\Webservice.cfm: line 30
28 : returnVariable = "myResult">
29 : <cfinvokeargument name="card" value="#card#">
30 : <cfinvokeargument name="PaymentRequest" value="#PaymentRequest#">
31 : </cfinvoke>
32 :
Please try the following:
* Check the ColdFusion documentation to verify that you are using the
correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8)
Gecko/20050511 Firefox/1.0.4
Remote Address 192.168.0.124
Referrer
Date/Time 01-Jul-05 04:23 PM
Stack Trace
at
cfmp24Webservice2ecfm1371181199.runPage(D:\Inetpub \wwwroot\Webservice.cfm:30)
at cfmp24Webservice2ecfm1371181199.runPage(D:\Inetpub \wwwroot\Webservice.cfm:30)
WSDLException (at /SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected
element '{http://schemas.xmlsoap.org/wsdl/}definitions'.:
at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(U nknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(U nknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.popul ate(SymbolTable.java:406)
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:27 3)
at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.ja va:402)
at coldfusion.xml.rpc.XmlRpcServiceImpl$1.run(XmlRpcS erviceImpl.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebSe rvice(XmlRpcServiceImpl.java:1
96)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService (XmlRpcServiceImpl.java:464)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService Proxy(XmlRpcServiceImpl.java:4
08)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTa g.java:362)
at
cfmp24Webservice2ecfm1371181199.runPage(D:\Inetpub \wwwroot\mp24Webservice.cfm:30
)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357)
at coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:62)
at coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:107)
at coldfusion.filter.PathFilter.invoke(PathFilter.jav a:80)
at coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:47)
at
coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilt
er.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:35)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:43)
at coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:249)
at jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable( JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invok eRunnable(ThreadPool.java:318)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:426)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)
What else can I do?
br
Charlie
dengibtsicherned Guest
-
dengibtsicherned #4
Re: Webservice BUG faultCode=INVALID_WSDL
Hi,
maybe it'll help if I post the WDSL-Link:
[url]https://www.mpay24.com/soap/etp/1.2/ETP.wsdl[/url]
I want to use the AcceptPaymentRequest Method, so what do I have to do?
There is also a username and password for authentication, but I can't post it.
Here my code:
<cfscript>
card = structNew();
card.brand = "VISA";
card.identifier = "4444111122223333";
card.expiry = "0604";
card.cvc = "123";
PaymentRequest = structNew();
PaymentRequest.timeStamp = "200506301705";
PaymentRequest.merchantID = "70358";
PaymentRequest.pType = "mpay24.pType.CC";
PaymentRequest.tid = "3";
PaymentRequest.price = "400";
PaymentRequest.currency = "EUR";
PaymentRequest.pin = "u70358";
PaymentRequest.password = "7s8x5ok";
PaymentRequest.clearing = "0";
PaymentRequest.customer = "customerblabla";
PaymentRequest.order = "orderblabla";
PaymentRequest.language = "DE";
</cfscript>
<cfinvoke webservice = "https://www.mpay24.com/bin/secure/at/etpproxy_v12"
method = "AcceptPayment"
username="#usr#"
password="#pwd#"
timeout="2000"
returnVariable = "myResult">
<cfinvokeargument name="card" value="#card#">
<cfinvokeargument name="PaymentRequest" value="#PaymentRequest#">
</cfinvoke>
<cfdump var="#result#">
Is this code right?
br+thx
Charlie
dengibtsicherned Guest
-
dengibtsicherned #5
Re: Webservice BUG faultCode=INVALID_WSDL
Hi,
can anyone help me?
thx
Charlie
dengibtsicherned Guest
-
dengibtsicherned #6
Re: Webservice BUG faultCode=INVALID_WSDL
is there nobody out there to help me?
dengibtsicherned Guest



Reply With Quote

