I've got an weird error message when trying to consume webservice:

 coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: 
Found 1 semantic error compiling 
"C:/CFusionMX7/stubs/WS-1056924799/au/com/edi/www/EnterpriseService/UNLOCO.java":
 21. this._value = new au.com.edi.www.EnterpriseService.AutoUNLOCO(_value); 
<-----------------------------------------> *** Error: Attempt to instantiate 
an abstract class "AutoUNLOCO". Found 1 semantic error compiling 
"C:/CFusionMX7/stubs/WS-1056924799/au/com/edi/www/EnterpriseService/TelephoneNumber.java":
 21. this._value = new 
au.com.edi.www.EnterpriseService.AutoTelephoneNumber(_value); 
<--------------------------------------------------> *** Error: Attempt to 
instantiate an abstract class "AutoTelephoneNumber". .


ws:
http://www.tracking.edi.com.au/webservice/shipmentservice.asmx?wsdl

My codes:

<cfscript>
  ws = CreateObject("webservice", 
"http://www.tracking.edi.com.au/webservice/shipmentservice.asmx?wsdl";);
addSOAPRequestHeader(ws, "http://www.edi.com.au/EnterpriseService/";, 
"CompanyCode", "CARCASMEL");
addSOAPRequestHeader(ws, "http://www.edi.com.au/EnterpriseService/";, 
"UserName", "[EMAIL PROTECTED]");
addSOAPRequestHeader(ws, "http://www.edi.com.au/EnterpriseService/";, 
"Password", "mike");
</cfscript>

There was a demonstration utility that consumes this webservice written in cs 
working fine with this ws.

Could anyone give me an idea what the problem is?

Thanks
Michael Nguyen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261540
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to