Web service issue
I have a web web service like "https://test.com/WS/serviceTest.cfc?wsdl" which is calling another cfc file ServiceTest2.cfc.
1. serviceTest.cfc
<cfcomponent style="document" namespace = "http://DefaultNamespace" output="false">
<cffunction name="GetName" returnType="any" access="remote">
<cfargument name="input" type="ServiceTest2[]">
<cfdump var="#input#">
</cffunction>
</cfcomponent>
2. ServiceTest2.cfc
<cfcomponent>
<cfproperty name="FirstName" required="No" type="string">
<cfproperty name="LastName" required="No" type="string">
</cfcomponent>
Getting the below error:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : [Lservicetest2;][java.lang.ClassNotFoundException : servicetest2][java.lang.NoClassDefFoundError : servicetest2 (wrong name: ServiceTest2)]
AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : [Lservicetest2;][java.lang.ClassNotFoundException : servicetest2][java.lang.NoClassDefFoundError : servicetest2 (wrong name: ServiceTest2)] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:AZR885QASRV01
But When I add mapping to web service path then it start working but that add one more namespace in the WSDl file like
<import namespace="http://abcd123456"/>
I have imported certificate as well but no luck.
Can you Please help.
