Creating a STUB to call PartyWebServiceExample using WSDL file 1.

Software used: IDE Eclipse JEE Juno SR1 for win32 (32 bit machine) JDK JDK version 1.6.0_13 (Installation file name - jdk-6u13-windows-i586-p.exe) Server jboss-5.1.0.GA-jdk6 Also tried with Tomcat 7.0 Axis Axis 1.4 2. Create a Dynamic Web Project using Eclipse. 3. Use following WSDL file (available with resource kit):

and copy it to local machine with extension .WSDL 4. Make a folder named WSDL in WEB-INF under WebContent folder of Dynamic Web Project and copy the WSDL file obtained from the link mentioned in point 3.

5. Right click on WSDL file in IDE and select Web Service Client. This will open a dialogue box to create the web service client stubs to call target web service. File->New->Other

1-xml 9.3 commons-httpclient-2.8 This file contains a simple call to web service stud “locator”. Following error is generated: AxisFault . We need SIF-API specific JARs to resolve the errors.mypack. to select option “run as” and then “java application”. Now select the source folder location where stubs will be generated.0 castor-1.6. Select runtime server instance and project specific TestMain. Copy following JAR files to WEB-INF/lib from D:\stage\resourcekit\samples\PartyWebServiceExample\lib siperian-common siperian-api log4j-1. Click will show compilation errors. Create a new java package and file under this java source folder where other stubs are generated. Package com.client Java File: TestMain.1. Click finish. TestMain. Build and right click on TestMain. 7. Source) at at at com.Call.sif.XMLDocumentFragmentScannerImpl$FragmentContentDriver.invokeEngine(Call.axis.internal.parse(Unknown Source) at com. at at org.impl.apache.client.axis.getSOAPEnvelope(Message.xmlsoap.SAXParserImpl.apache.invoke($ Unknown Source) at com.parse(Unknown Source) at com.userException faultSubcode: faultString: com.scanDocument(Unknown Source) at com.orcl11.xerces.apache.scanEndElement(Unknown Source) at} at org.encoding.MustUnderstandChecker.sun.client.client.apache.AxisClient.comIMNCDB_ORS" can not be found or is not registered in CMX_SYSTEM database.getParty(SiperianWebServicePortTypeSoap at}hostname:SOCW3S2AP161 at at org.endElement(DeserializationContext.xglbsnet.axis.sif.faultCode: { at com.main(TestMain.axis.internal.internal.axis.axis.invoke( at faultActor: faultNode: faultDetail: { Source) at at org.client.client.parsers.xerces.invoke(Call.apache.internal.apache.parse(DeserializationContext.Call.SOAPPart.axis.apache.SOAPFaultBuilder.apache.endElement( at org.SiperianServerException: SIP-10068: Database &quot.invoke(Call.internal.client.endElement(Unknown Source) at Source) at at com.apache.xerces.getAsSOAPEnvelope( at org.message.apache.TestMain.xerces.invoke(AxisClient.XML11Configuration.sun.client.createFault(SOAPFaultBuilder. Please review your server log for more details.SiperianServerException: SIP-10068: Database "orcl11.parse(Unknown Source) at org.xerces.parse(Unknown Source) at at Please review your server log for more Source) at can not be found or is not registered in CMX_SYSTEM database.

Sign up to vote on this title
UsefulNot useful