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):
http://localhost:8080/PartyWebServiceExample/services/SiperianWebServices?wsdl

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 commons-pool-1.java 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. 8.java 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 information.java TestMain. Copy following JAR files to WEB-INF/lib from D:\stage\resourcekit\samples\PartyWebServiceExample\lib siperian-common siperian-api log4j-1. Click next.2.java 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.

sun.axis.parsers.axis.xerces.org.XMLDocumentFragmentScannerImpl.impl.Call.apache.com-IMNCDB_ORS&quot.invoke(Call.sun.parsers.sun.internal.parse(Unknown Source) at com.apache.java:2443) at org.XMLNSDocumentScannerImpl.org.Call.xglbsnet.xerces.sun.java:1087) at com.Call.sif.XMLDocumentFragmentScannerImpl$FragmentContentDriver.invokeEngine(Call.axis.internal.parse(Unknown Source) at com. at org.soap.apache.axis.Call.sun.XMLParser.sif.apache.java:435) at org.impl.apache.client.axis.getSOAPEnvelope(Message.xmlsoap.SAXParserImpl.apache.invoke(Call.org.SAXParserImpl$JAXPSAXParser.parsers.org.impl.apache.apache.DeserializationContext.siperian.xerces.xerces.next( 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 com.xerces.apache.apache.org.apache.org/soap/envelope/}Server.java:227) 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 BindingStub.java:129) at org.org/axis/}hostname:SOCW3S2AP161 com.java:222) at org.parsers.java:2366) at org.endElement(DeserializationContext.xglbsnet.axis.sif.faultCode: {http://schemas.apache.client.XMLDocumentFragmentScannerImpl.apache.client.java:1812) at com.main(TestMain.axis.internal.internal.axis.axis.invoke(MustUnderstandChecker.message.Message.sun.axis.xerces.internal.java:2767) at org.mypack.AbstractSAXParser.apache.org.XMLDocumentScannerImpl.SOAPFaultBuilder. faultActor: faultNode: faultDetail: {http://xml.xerces.next(Unknown Source) at com.internal.sun.java:206) at org.client.client.parsers.xerces.invoke(Call.apache.internal.apache.parse(DeserializationContext.Call.SOAPPart.axis.apache.SOAPFaultBuilder.apache.endElement(SOAPFaultBuilder.java:2784) at org.SiperianServerException: SIP-10068: Database &quot.invoke(Call.internal.client.endElement(Unknown Source) at com.sun.jaxp.axis.next(Unknown Source) at com.org.impl.java:310) at com.apache.xerces.getAsSOAPEnvelope(SOAPPart.org.sun.SiperianWebServicePortTypeSoapBindingStub.apache.axis.DeserializationContext.java:62) 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 com.encoding.internal.java:696) at org.java:35) .apache.internal.org.apache.XML11Configuration.sun.internal.impl. Please review your server log for more details.org.parse(Unknown Source) at com.org.internal.AbstractSAXParser.handlers.siperian.jaxp.org.siperian.apache. can not be found or is not registered in CMX_SYSTEM database.

Sign up to vote on this title
UsefulNot useful