Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
pduba31 #1
Error Invoking Web Service
Hopefully someone has seen this and has an answer. I am trying to invoke a web
service which takes a string of XML as a parameter. I have attached my call
below (minus a user name and password needed for access). The XML I am passing
is below: <ClientId><IdValue
name='IntegrationConfig'>virtualedgeintdemsg</IdValue></ClientId><PackageId><IdV
alue name='SolutionId'>122345</IdValue><IdValue
name='SittingNumber'>5</IdValue></PackageId><ProviderId
idOwner='ePredix'><IdValue>ePredix</IdValue><IdValue>Stage</IdValue></ProviderIdname='RequisitionNumber'>MyReq101</IdValue></ComparisonGroupId><ClientOrderId><ComparisonGroupId idOwner='ePredix'><IdValue
idOwner='ePredix'><IdValue name='OrderNumber'>ve_1_0000001</IdValue><IdValue
name='AccountId'>Dev</IdValue></ClientOrderId><AssessmentRequester>to</Assessmen
tRequester><AssessmentSubject><SubjectId idOwner='ePredix'><IdValue
name='ApplicantId'>dd</IdValue></SubjectId><PersonName><LegalName>Phillip
Duba</LegalName><GivenName>Phil</GivenName></PersonName></AssessmentSubject><Use
rArea><ns1:CompletionSteps
xmlns:ns1='http://ns.epredix.com/2004-12-01'><PassCompletionStep
xmlns=''><InternetBrowserForward
timeoutSecs='10'><ForwardUrl>http://www.yahoo.com</ForwardUrl></InternetBrowserF
orward></PassCompletionStep><FailCompletionStep
xmlns=''><InternetBrowserForward
timeoutSecs='10'><ForwardUrl>http://www.amazon.com</ForwardUrl></InternetBrowser
Forward></FailCompletionStep></ns1:CompletionSteps></UserArea> I receive the
following error when trying to invoke the web service: Could not generate stub
objects for web service invocation. Name:
[url]https://hcmint.epredix.com/integration/soap/AssessmentServiceSoapPort[/url]. WSDL:
[url]https://hcmint.epredix.com/integration/soap/AssessmentServiceSoapPort[/url].
org.xml.sax.SAXException: Fatal Error: URI=null Line=2: Illegal character at
end of document, <. 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 also tried to add it to the
CF Administrator and it also bombs. I can execute this webservice through the
url adding the
method=OrderAssessment&hrx:AssessmentOrder=The _XML_From_Above. Any hints in
what is going wrong would be greatly appreciated. This is an Assessment request
using HR-XML syntax. Thanks! Phil
<cfinvoke
webservice="https://hcmint.epredix.com/integration/soap/AssessmentServiceSoapPor
t" method="OrderAssessment" returnvariable="acknowledge">
<cfinvokeargument name="hrx:AssessmentOrder" value="#OrderRequest#">
</cfinvoke>
pduba31 Guest
-
Error invoking web service:ServiceStubDiscoveryException
I'm trying to use CFINVOKE to invoke a web service with this code: <cfset serviceURL =... -
dynamically invoking web service methods, how?
Is the only known way to do this is by using... -
Invoking Web Service without creating proxy
I'm trying to invoke a web service programmatically withoutcreating a proxy (e.g. extending SoapHttpClientProtocol). (Theproblem is that at... -
Exception when invoking web service from asp .net form
When creating the instance to invoke a web service method, I always get the exception shown at the bottom. The .dll file changes randomly, although... -
404 error invoking web service
Hi, I'm having a problem with a web service that I wrote. I first wrote & tested the web service on my local (XP) machine. I used visual studio to... -
pduba31 #2
Re: Error Invoking Web Service
I got the CFINVOKE to call the web service. I need to call the WSDL file. I
searched through some other posts and found this out (thanks to the many Babble
fish examples). Anyway, now my issue is type mismatch. The WSDL file defines
the parameter as: <wsdl:message name='OrderAssessmentRequest'>
<wsdl:part name='parameters' element='hrx:AssessmentOrderRequest' />
</wsdl:message> The 'hrx:AssessmentOrderRequest' is an XML specification. I
have tried passing a string of XML as well as an XML object and continue to get
a type mismatch. Any other ideas would be appreciated. Thanks, Phil
pduba31 Guest



Reply With Quote

