I just got a job at a company that uses CF as its server side language. I'm a quick learner and have the basics ironed out so my boss gave me a project that seems above my league but before I tell him, I'd like to know if there is anything I could try. And I've looked thru all relevant adobe pages and multiple forum and blog posts.
Now, as the title goes, this is about a web service a client of ours has that he wants us to use. I've found the WSDL doc and all the imports it has, but for the life of me, I cannot get the service to run or display any form of error to tell me whats happening, aside from an error on my side.
From the error it looks like I'm getting an error returned from the service but I get a semantic error when the compiler attempt to set an int to a java.lang.integer.
The service file is a .SVC extension. And the crazy thing the error which should be that nice table is instead the HTML of the table and everything on the page (as in the html is shown on the page)
Is there anything more you need to know to help me?
Off the top of my head, the only thing I can think of is to check and make sure that if any specific CF settings are required in CFAdmin, they are set.
Hey sorry it took so long for a replay and thanks for replying as well
K, well, got to work this morning and had an email (I had sent an email to their dev team asking about the error, it seems it was on their end) Since this, I'm not getting the same error but now a new one.
Cannot generate stub objects for web service invocation.
But not to worry, as of right now, the fault is on their end as it is stating its an invalid wsdl, so lets hope after it gets straighted out I can get this to work.
Yeah, I understand this one…I believe. The issue is that WSDL is not on the https protocol, it’s on HTTP. The web service is on HTTPS. So given that, I’m not sure the ramifications.
Are you able to read the wsdl with one address and specify the end-point with another.
Example. We nearly always develop against a QA instance of a web service, which usually used to read the WSDL. We then repoint our apps to the correct URL later, it never re-reads the WSDL and used the correct URL.
I think in this case that Cold Fusion is trying to read the WSDL and assuming that is also the same URL for the call, which in this case it’s not.
I'm still getting that previous error and I don't know how to proceed.
This is news, to me. I've never had any trouble (in the two times I was designated CFAdmin) with getting CF server to use SSL; SSL was done via IIS, and worked, each time - nothing about storing the cert in CF.
Hmm I just tried adding the wsdl url using the cfide admin web service section and it gave me a "the url is wrong" type error but I can clearly get to it using the browser.
if I use the https with the url I get to basically a landing page on how to create a client for this web service, removing the 'https://' takes me to the actual wsdl doc, I guess thats the problem?
Hmm... so we still haven't imported the cert, hopefully, we'll get that done today or tomorrow.
Now, if it's not that and is in fact the WSDL is on an 'http' protocol while the web service is on an 'https' protocol causing the problem, do you know how to go about solving this issue?
Bookmarks