Sample program to Call XML RPC

Hi Friends,
Is there a sample abap program to call a XML RPC routine
for eg
<cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="pingMe" protocol="soap"/>
I have a RPC procedure pingMe,which resides in domain
rpc.sys.com.
regards
kaushik

Hi Friends,
Is there a sample abap program to call a XML RPC routine
for eg
<cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="pingMe" protocol="soap"/>
I have a RPC procedure pingMe,which resides in domain
rpc.sys.com.
regards
kaushik

Similar Messages

  • XML-RPC PHP Command Execution

    The follow captured packet is said to have caused the signature called “XML-RPC PHP Command Execution” (SIGID: 3254 SubSig: 0) to trigger
    ..~...........E..$..@.=....C....'O....QxE..+.UP....j....<?xml version="1.0"?>..<methodCall>..<methodName>test.method..</methodName>..<params>..<param>..<value><name>','')); echo ..'______BEGIN______'; ..passthru('id'); ..echo ..'_____FIM_____';..exit;/*</name></value>..</param>..</params>..</methodCall>....{.
    The signature looks for 2 criteria before sending the alert to the console.
    HeaderRegex:
    [Cc][Oo][Nn][Tt][Ee][Nn][Tt][-][Tt][Yy][Pp][Ee][:]\x20?([Aa][Pp][Pp][Ll][Ii][Cc][Aa][Tt][Ii][Oo][Nn]|[Tt][Ee][Xx][Tt])[/\\][Xx][Mm][Ll]
    RequestRegex:
    [^\x5c]['][);\x0a\x0d\x20]+([Ee][Cc][Hh][Oo]|[Ss][Yy][Ss][Tt][Ee][Mm])
    I am looking for the part in the triggered packet that has caused the event to trigger.
    Could someone from the list please point out which part in the trigged packet caused the event?

    Hi Darin,
    This signature is indeed firing because the following part is included into the XML file being posted:
    ','')); echo ..'______BEGIN______';
    I'm not too sure if this is legitimate or not in your case, but that definitely looks like a code injection!
    It is indeed pretty similar to the exploits related to this vulnerability:
    http://www.securityfocus.com/bid/14088/exploit
    JF

  • Javax.xml.rpc.soap.SOAPFaultException: "Server Error" while calling a WSDL

    Hi
    I am using a WSDL in my java code by creating proxy.
    I am getting an exception on below line of code
    XX_RESPONSE res = port.XX_XX_Forecast(req);
    exception :
    javax.xml.rpc.soap.SOAPFaultException: "Server Error"
    hat could be the possibility.
    is it from XI side or Java side.
    Shall I catch a XI person on my floor to solve this !!
    To be more specific :
    Error is
    <detail xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
    <context>XIAdapter</context>
    <code>ADAPTER.JAVA_EXCEPTION</code>
    <text>com.sap.aii.af.service.cpa.CPAException: invalid channel (party:service:channel) = <null>
    at com.sap.aii.af.mp.soap.web.MessageServlet.getChannel(MessageServlet.java:499)
    at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:409)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>
    </s:SystemError>
    </detail>
    Thanks

    Hi...
    WSDL forwarded by my manager was wong
    I tested it and it threw same exception.
    nyways...1 more help..
    Now, is there any way in NWDS to replace contents of used WSDL.
    Because only 1 "=" is missing in WSDL..
    Thanks

  • Code alteration - Basic problem or XML-RPC?

    I'm trying to alter the following client/server code to create an XML-RPC such that when the client offers an argument eg ?John? then the result of the method call returned to the client would be ?John*John? rather than the result of the equation currently shown.
    I'm not sure if it's just my lack of knowledge or something in the basic data types in XML-RPC
    Any help much appreciated.
    Client
    [ code ]
    import java.util.*;
    import org.apache.xmlrpc.*;
    //simple XML-RPC client that makes an XML-RPC request to a Server
    public class XMLRPCClient {
    public static void main(String args[]) {
    try {
    // Specify the server
    XmlRpcClient server = new XmlRpcClient("http://localhost/RPC2");
    // Create request
    Vector params = new Vector();
    params.addElement(new Integer(17));
    params.addElement(new Integer(13));
    // Make a request and print the result
    Object result = server.execute("sample.sum", params);
    int sum = ((Integer ) result).intValue();
    System.out.println("Response from server: " + sum);
    } catch (Exception exception) {
    System.err.println("JavaClient: " + exception);
    [ /code ]
    Server
    [ code ]
    import org.apache.xmlrpc.*;
    //XMLRPCServer is a simple XML-RPC server
    public class XMLRPCServer {
    //Start up the XMLRPC server and register a handler.
    public Integer sum(int x, int y) {
    return new Integer(x+y);
    public static void main (String [] args) {
    try {
    System.out.println("Attempting to start XML-RPC Server...");
    WebServer server = new WebServer(80);
    server.addHandler("sample", new XMLRPCServer());
    server.start();
    System.out.println("Started successfully.");
    System.out.println("Accepting requests. (Halt program to stop.)");
    } catch (Exception exception) {
    System.err.println("JavaServer: " + exception);
    [ /code ]

    cause of the error:
    After some extensive research on the web, it is found that that you are using an UTF-8 encoded file with byte-order mark (BOM). Java doesn't handle BOMs on UTF-8 files properly, making the three header bytes appear as being part of the document. UTF-8 files with BOMs are commonly generated by tools such as Window's Notepad. This is a known bug in Java, but it still needs fixing after almost 8 years...
    There are some hexadecimal character at the begining of the file, which is giving error"content not allowed in prolog". No solution is provided for this till now.
    Example: suppose your file start with <?xml version="1.0" encoding="utf-8"?>. you will see this in a editor. But if you open this file with any hexadecimal editor you will find some junk character in the start of the file.that is causing the problem
    solution:
    1) convert your file into a string and then read the file from the forst character that in my case the first character will be "<".so the junk character will not be there in the string and then again convert it into a file.
    2) some people are able to solve this problem by changing the "utf-8" to "utf-16". remember only in some case. some times this problem also exits in "utf-16" file.
    3) some are able to solve this problem by changing the LANG to US.en.
    4) If the first three bytes of the file have hexadecimal values EF BB BF then the file contains a BOM.so you can also handle by your own.
    5)Download a hexadecimal editor and remove the BOM.
    6) In case you are not able to think furthe then please to more research in internet may be you find some other solution to this problem. But These solution are some type of hack not exactly a solution.

  • Javax.xml.rpc.soap.SOAPFaultException: System Error

    i am trying to use java proxy to run a web service which activates a FM. when i excute the java program i get:
    javax.xml.rpc.soap.SOAPFaultException: System Error
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildFaultException(MimeHttpBinding.java:735)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processDocumentFault(MimeHttpBinding.java:857)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:1091)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1439)
         at sap.press.com.xi.MI_JavaProxyStartWorkflowSyncOutBindingStub.MI_JavaProxyStartWorkflowSyncOut(MI_JavaProxyStartWorkflowSyncOutBindingStub.java:82)
         at sap.press.com.xi.SendJavaProxy.main(SendJavaProxy.java:38)
    does anyone know what the causing it?

    RWB = runtime Workbench
    when you start integration builder you 4 choices (Integration Repository, Integration Directory, System Landscape Directory and Runtime Workbench)
    Go their and on the next Webpage on the first link "Comp. Monitioring"
    Go to "Integration Server" and their to Adapter Engine
    you will get another window below.
    Go their on button Adapter Monitoring and we will get a overview which are working and which not.
    Hope this helps!
    Regards Matt

  • "package javax.xml .rpc does not exist" error when compiling client jar

    When I try to compile the web services client jar with either the clientgen or the <client> element of servicegen I get the following error "package weblogic.webservice.core.rpc does not exist"
    Here is the error output
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:10: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:9: package javax.xml.rpc does not exist
    [servicegen] public interface OSHService extends javax.xml.rpc.Service{
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:11: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext context();
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:13: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext joinContext()
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:14: package weblogic.webservice.context does not exist
    [servicegen] throws weblogic.webservice.context.ContextNotFoundException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:16: package javax.xml.rpc does not exist
    [servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort() throws javax.xml.rpc.ServiceException;
    [servicegen]
    ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
    nt.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:18: package javax.xml.rpc does not exist
    [servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort(String username, String password) throws javax.xml.rpc.ServiceException;
    [servicegen]
    ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.StubImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
    nt.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:12: package weblogic.webservice does not exist
    [servicegen] public OSHServicePort_Stub( weblogic.webservice.Port _port ){
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:9: com.onexchange.tools.osh.client.OSHService_Impl should be declared abstract; it does not define context() in com.onexchange.tools.osh.client.OSHService_Impl
    [servicegen] public class OSHService_Impl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
    nt.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:40: cannot
    resolve symbol
    [servicegen] symbol : method _getPort (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
    [servicegen] new com.onexchange.tools.osh.client.OSHServicePort_Stub( _g
    etPort( "OSHServicePort" ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:49: cannot
    resolve symbol
    [servicegen] symbol : method _setUser (java.lang.String,java.lang.String,com.on
    exchange.tools.osh.client.OSHServicePort)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
    [servicegen] _setUser( username, password, getOSHServicePort() );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:24: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string", wrap( string ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:25: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string0", wrap( string0 ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:27: ca
    nnot resolve symbol
    [servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] java.lang.Object result = invoke( "login", _args );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:29: pa
    ckage javax.xml.rpc does not exist
    [servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:31: pa
    ckage javax.xml.rpc.soap does not exist
    [servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:44: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string", wrap( string ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:45: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string0", wrap( string0 ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:47: ca
    nnot resolve symbol
    [servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] java.lang.Object result = invoke( "oshRequest", _args );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:49: pa
    ckage javax.xml.rpc does not exist
    [servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:51: pa
    ckage javax.xml.rpc.soap does not exist
    [servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
    [servicegen] ^
    [servicegen] 22 errors
    [servicegen] java.io.IOException: Compiler failed executable.exec
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
    ilerInvoker.java:470)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:329)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:337)
    [servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compi
    leFiles(CompilerHelper.java:80)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compil
    eStubs(ClientGenImpl.java:608)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.genera
    teStub(ClientGenImpl.java:553)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromEAR(ClientGenImpl.java:502)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:348)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.g
    enerateClient(ServiceGenTask.java:597)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.e
    xecute(ServiceGenTask.java:195)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [servicegen] at org.apache.tools.ant.Main.start(Main.java:196)
    [servicegen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    Below is the -debug from the ant task immediately following:
    <target name="web-service" depends="osh_bean_jar">
    <servicegen
    destEar="${build}/osh_service"
    warName="osh_service.war"
    contextURI="web_services" >
    <service
    ejbJar="${dist}/osh_bean.jar"     
    targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
    serviceName="OSHService"
    serviceURI="/OSHService"
    generateTypes="True"
    expandMethods="True"
    style="rpc">
    <client
    packageName="com.onexchange.tools.osh.client" />
    </service>
    </servicegen>
    </target>
    Apache Ant version 1.5.3 compiled on August 13 2003
    Buildfile: \onexv3.x\src\antfile\osh.xml
    Detected Java version: 1.4 in: C:\bea\JDK141~1\jre
    Detected OS: Windows 2000
    +User task: propertyfile     org.apache.tools.ant.taskdefs.optional.PropertyFile
    +User task: vsscheckin     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
    +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
    +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
    +User task: p4reopen     org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
    +User task: csc     org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
    +User task: dirname     org.apache.tools.ant.taskdefs.Dirname
    +User task: wlrun     org.apache.tools.ant.taskdefs.optional.ejb.WLRun
    +User task: servicegen     weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask
    +User task: p4label     org.apache.tools.ant.taskdefs.optional.perforce.P4Label
    +User task: p4revert     org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
    +User task: replaceregexp     org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
    +User task: ddcreate     weblogic.ant.taskdefs.build.DDCreateTask
    +User task: get     org.apache.tools.ant.taskdefs.Get
    +User task: jjtree     org.apache.tools.ant.taskdefs.optional.javacc.JJTree
    +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
    +User task: jarlib-display     org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
    +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
    +User task: zip     org.apache.tools.ant.taskdefs.Zip
    +User task: patch     org.apache.tools.ant.taskdefs.Patch
    +User task: jspc     weblogic.ant.taskdefs.j2ee.Jspc
    +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
    +User task: test     org.apache.tools.ant.taskdefs.optional.Test
    +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
    +User task: unwar     org.apache.tools.ant.taskdefs.Expand
    +User task: vsshistory     org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
    +User task: icontract     org.apache.tools.ant.taskdefs.optional.IContract
    +User task: cvschangelog     org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
    +User task: p4submit     org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
    +User task: ccmcheckin     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
    +User task: p4change     org.apache.tools.ant.taskdefs.optional.perforce.P4Change
    +User task: bzip2     org.apache.tools.ant.taskdefs.BZip2
    +User task: wspackage     weblogic.ant.taskdefs.webservices.wspackage.WSPackage
    +User task: p4delete     org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
    +User task: vssadd     org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
    +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
    +User task: translate     org.apache.tools.ant.taskdefs.optional.i18n.Translate
    +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
    +User task: vajload     org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
    +User task: jarlib-available     org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
    +User task: wsdd-merge     weblogic.ant.taskdefs.webservices.autotype.DDMerge
    +User task: WsdlToDotnet     org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
    +User task: buildnumber     org.apache.tools.ant.taskdefs.BuildNumber
    +User task: jpcovmerge     org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
    +User task: compliance     weblogic.ant.taskdefs.webservices.compliance.Compliance
    +User task: ejbjar     org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
    Could not load class (weblogic.ant.taskdefs.perforce.P4Changes) for task p4changes
    +User task: war     org.apache.tools.ant.taskdefs.War
    Could not load a dependent class (com/starbase/starteam/Item) for task stlist
    +User task: rename     org.apache.tools.ant.taskdefs.Rename
    +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
    +User task: serverdeploy     org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
    +User task: wsdlgen     weblogic.ant.taskdefs.webservices.wsdlgen.WSDLGen
    +User task: property     org.apache.tools.ant.taskdefs.Property
    +User task: move     org.apache.tools.ant.taskdefs.Move
    +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
    +User task: cccheckin     org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
    +User task: wljspc     org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
    +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
    Could not load a dependent class (com/oroinc/net/SocketClient) for task telnet
    +User task: sosget     org.apache.tools.ant.taskdefs.optional.sos.SOSGet
    Could not load class (weblogic.ant.taskdefs.perforce.P4VersionString) for task p4versionstring
    +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
    +User task: autotype     weblogic.ant.taskdefs.webservices.javaschema.JavaSchema
    +User task: record     org.apache.tools.ant.taskdefs.Recorder
    +User task: p4sync     org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
    +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
    +User task: p4edit     org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
    +User task: manifest     org.apache.tools.ant.taskdefs.ManifestTask
    +User task: maudit     org.apache.tools.ant.taskdefs.optional.metamata.MAudit
    +User task: antlr     org.apache.tools.ant.taskdefs.optional.ANTLR
    +User task: netrexxc     org.apache.tools.ant.taskdefs.optional.NetRexxC
    Could not load a dependent class (com/oroinc/net/ftp/FTP) for task ftp
    +User task: jpcovreport     org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
    +User task: wsdl2service     weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service
    +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
    +User task: ccmcheckout     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
    +User task: ant     org.apache.tools.ant.taskdefs.Ant
    +User task: xmlvalidate     org.apache.tools.ant.taskdefs.optional.XMLValidateTask
    +User task: xslt     org.apache.tools.ant.taskdefs.XSLTProcess
    +User task: iplanet-ejbc     org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
    +User task: ccmcheckintask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
    +User task: gzip     org.apache.tools.ant.taskdefs.GZip
    +User task: native2ascii     org.apache.tools.ant.taskdefs.optional.Native2Ascii
    +User task: starteam     org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
    +User task: ear     org.apache.tools.ant.taskdefs.Ear
    +User task: input     org.apache.tools.ant.taskdefs.Input
    +User task: wlpath     weblogic.ant.taskdefs.WLPath
    +User task: pointbase     weblogic.ant.taskdefs.pointbase.PointBase
    +User task: rmic     weblogic.ant.taskdefs.j2ee.Rmic
    +User task: checksum     org.apache.tools.ant.taskdefs.Checksum
    +User task: mail     org.apache.tools.ant.taskdefs.email.EmailTask
    +User task: loadfile     org.apache.tools.ant.taskdefs.LoadFile
    +User task: wsgen     weblogic.ant.taskdefs.webservices.wsgen.WSGenTask
    +User task: vsscheckout     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
    +User task: stylebook     org.apache.tools.ant.taskdefs.optional.StyleBook
    +User task: soscheckin     org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
    +User task: mimemail     org.apache.tools.ant.taskdefs.optional.net.MimeMail
    +User task: stlabel     org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
    +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
    +User task: concat     org.apache.tools.ant.taskdefs.Concat
    +User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
    +User task: touch     org.apache.tools.ant.taskdefs.Touch
    +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
    +User task: splash     org.apache.tools.ant.taskdefs.optional.splash.SplashTask
    +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
    Could not load class (weblogic.ant.taskdefs.ejb.DDInit) for task ddinit
    +User task: cccheckout     org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
    +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
    +User task: p4have     org.apache.tools.ant.taskdefs.optional.perforce.P4Have
    +User task: filter     org.apache.tools.ant.taskdefs.Filter
    +User task: xmlproperty     org.apache.tools.ant.taskdefs.XmlProperty
    Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
    +User task: copy     org.apache.tools.ant.taskdefs.Copy
    +User task: clientgen     weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask
    +User task: createidl     weblogic.ant.taskdefs.iiop.CppIdlSetup
    +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
    Could not load a dependent class (com/ibm/bsf/BSFException) for task script
    +User task: ccmcreatetask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
    +User task: rpm     org.apache.tools.ant.taskdefs.optional.Rpm
    +User task: delete     org.apache.tools.ant.taskdefs.Delete
    +User task: replace     org.apache.tools.ant.taskdefs.Replace
    +User task: mmetrics     org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
    +User task: waitfor     org.apache.tools.ant.taskdefs.WaitFor
    +User task: untar     org.apache.tools.ant.taskdefs.Untar
    +User task: loadproperties     org.apache.tools.ant.taskdefs.LoadProperties
    +User task: wldeploy     weblogic.ant.taskdefs.management.WLDeploy
    +User task: available     org.apache.tools.ant.taskdefs.Available
    +User task: echoproperties     org.apache.tools.ant.taskdefs.optional.EchoProperties
    Could not load a dependent class (junit/framework/TestListener) for task junit
    Could not load a dependent class (com/starbase/starteam/Item) for task stcheckin
    +User task: vajexport     org.apache.tools.ant.taskdefs.optional.ide.VAJExport
    Could not load a dependent class (com/starbase/starteam/Item) for task stcheckout
    +User task: bunzip2     org.apache.tools.ant.taskdefs.BUnzip2
    +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
    +User task: wlserver     weblogic.ant.taskdefs.management.WLServer
    +User task: vsscreate     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
    +User task: wlconfig     weblogic.ant.taskdefs.management.WLConfig
    +User task: ejbc     weblogic.ant.taskdefs.j2ee.Ejbc
    +User task: unjar     org.apache.tools.ant.taskdefs.Expand
    +User task: wsdltodotnet     org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
    +User task: wlcompile     weblogic.ant.taskdefs.build.WLCompileTask
    +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
    +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
    +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
    +User task: tempfile     org.apache.tools.ant.taskdefs.TempFile
    +User task: junitreport     org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
    +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
    +User task: echo     org.apache.tools.ant.taskdefs.Echo
    +User task: ccupdate     org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
    +User task: java     org.apache.tools.ant.taskdefs.Java
    +User task: vsslabel     org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
    +User task: renameext     org.apache.tools.ant.taskdefs.optional.RenameExtensions
    +User task: basename     org.apache.tools.ant.taskdefs.Basename
    +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
    +User task: tar     org.apache.tools.ant.taskdefs.Tar
    +User task: vsscp     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
    +User task: vajimport     org.apache.tools.ant.taskdefs.optional.ide.VAJImport
    +User task: setproxy     org.apache.tools.ant.taskdefs.optional.net.SetProxy
    +User task: p4counter     org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
    +User task: wlstop     org.apache.tools.ant.taskdefs.optional.ejb.WLStop
    +User task: ilasm     org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
    +User task: soscheckout     org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
    +User task: apply     org.apache.tools.ant.taskdefs.Transform
    +User task: ccuncheckout     org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
    +User task: jarlib-resolve     org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
    +User task: jlink     org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
    +User task: cvstagdiff     org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
    +User task: javacc     org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
    +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
    +User task: pvcs     org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
    +User task: jarlib-manifest     org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
    +User task: jar     org.apache.tools.ant.taskdefs.Jar
    +User task: sound     org.apache.tools.ant.taskdefs.optional.sound.SoundTask
    +User task: wlappc     weblogic.ant.taskdefs.j2ee.Appc
    +User task: mparse     org.apache.tools.ant.taskdefs.optional.metamata.MParse
    +User task: blgenclient     org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
    +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
    +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
    +User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
    +User task: ccmreconfigure     org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
    +User task: fail     org.apache.tools.ant.taskdefs.Exit
    +User task: unzip     org.apache.tools.ant.taskdefs.Expand
    +User task: javac     org.apache.tools.ant.taskdefs.Javac
    +User task: source2wsdd     weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD
    +User task: p4add     org.apache.tools.ant.taskdefs.optional.perforce.P4Add
    +User task: jpcoverage     org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
    +User task: soslabel     org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
    +User task: depend     org.apache.tools.ant.taskdefs.optional.depend.Depend
    +User task: wlpackage     weblogic.ant.taskdefs.build.WLPackageTask
    +User task: vssget     org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
    +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
    +User task: ddcreator     org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
    +User datatype: patternset     org.apache.tools.ant.types.PatternSet
    +User datatype: filterset     org.apache.tools.ant.types.FilterSet
    +User datatype: libfileset     org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
    +User datatype: filterreader     org.apache.tools.ant.types.AntFilterReader
    +User datatype: extension     org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
    +User datatype: fileset     org.apache.tools.ant.types.FileSet
    +User datatype: dirset     org.apache.tools.ant.types.DirSet
    +User datatype: filelist     org.apache.tools.ant.types.FileList
    +User datatype: filterchain     org.apache.tools.ant.types.FilterChain
    +User datatype: path     org.apache.tools.ant.types.Path
    +User datatype: classfileset     org.apache.tools.ant.types.optional.depend.ClassfileSet
    +User datatype: description     org.apache.tools.ant.types.Description
    +User datatype: xmlcatalog     org.apache.tools.ant.types.XMLCatalog
    +User datatype: selector     org.apache.tools.ant.types.selectors.SelectSelector
    +User datatype: mapper     org.apache.tools.ant.types.Mapper
    +User datatype: substitution     org.apache.tools.ant.types.Substitution
    +User datatype: extensionSet     org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
    +User datatype: regexp     org.apache.tools.ant.types.RegularExpression
    Setting ro project property: ant.version -> Apache Ant version 1.5.3 compiled on August 13 2003
    Setting ro project property: ant.file -> C:\onexv3.x\src\antfile\osh.xml
    parsing buildfile \onexv3.x\src\antfile\osh.xml with URI = file:C:/onexv3.x/src/antfile/osh.xml
    Setting ro project property: ant.project.name -> osh
    Adding reference: osh -> org.apache.tools.ant.Project@12ad19e
    Project base dir set to: C:\onexv3.x\src\antfile
    resolving systemId: file:properties.xml
    +Task: property
    [property] Loading Environment env.
    Setting project property: env.SYSTEMROOT -> C:\WINNT
    Setting project property: env.ONEX_WL_IP -> localhost
    Setting project property: env.ORACLE_HOME -> /oracle/ora92
    Setting project property: env.WEBROOT -> /weblogic/weblogic81/config/onexdomain-v3x/applications/onexchange
    Setting project property: env.PROMPT -> $P$G
    Setting project property: env.MY_PASSWORD -> qa1
    Setting project property: env.JAVA_OPTIONS -> -Xverify:none
    Setting project property: env.POINTBASE_TOOLS -> C:\weblogic\WEBLOG~1\common\eval\pointbase\lib\pbtools44.jar
    Setting project property: env.ONEX_CONFIG -> /onexv3.x/ops/config/config_dev-v2.x.txt
    Setting project property: env.PWD -> /weblogic/weblogic81/server/bin
    Setting project property: env.COMPUTERNAME -> FKHAN2
    Setting project property: env.JSPWD -> /weblogic/weblogic81/config/onexdomain-v3x/classfiles
    Setting project property: env.MAKE_MODE -> UNIX
    Setting project property: env.ALLUSERSPROFILE -> C:\Documents and Settings\All Users
    Setting project property: env.h -> /onexv3.x
    Setting project property: env.SERVLET_CLASSES -> /weblogic/weblogic81/config/onexdomain-v3x/servletclasses
    Setting project property: env.HOMEPATH -> \Documents and Settings\fkhan
    Setting project property: env.ONEX_NOTIFY -> 1
    Setting project property: env.ONEX -> /onexv3.x
    Setting project property: env.ONEX_TQREADER -> 1
    Setting project property: env.JDK_CLASSES -> /bea/jdk141_05/lib/rt.jar
    Setting project property: env._ -> ./ant.bat
    Setting project property: env.EXT -> .60
    Setting project property: env.SHELL -> /bin/sh
    Setting project property: env.Z -> ;
    Setting project property: env.X -> 1
    Setting project property: env.MY_NAME -> qa1
    Setting project property: env.ONEX_AUDIT -> 1
    Setting project property: env.MY_DW_DB_SERVICE -> qa
    Setting project property: env.PATH -> C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;.;C:\onexv3.x\ops\scripts;C:\onexv3.x\scripts;C:\onexv3.x\3rdparty\ant\bin;C:\bea\jdk141_05\bin;C:\onexv3.x\scripts\singledb;C:\Oracle\Ora9\bin;C:\cygnus\CYGWIN~1\H-I586~1\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Perforce;C:\cygwin\bin;C:\putty;C:\weblogic\WEBLOG~1\server\bin\oci920_8
    Setting project property: env.MY_INSTANCE -> qa
    Setting project property: env.POINTBASE_HOME -> C:\weblogic\WEBLOG~1\common\eval\pointbase
    Setting project property: env.WINDIR -> C:\WINNT
    Setting project property: env.ONEX_WL_HOME -> /weblogic/weblogic81
    Setting project property: env.ONEX_TRADING -> 1
    Setting project property: env.HOSTTYPE -> i586
    Setting project property: env.J -> /onexv3.x/jars
    Setting project property: env.PROCESSOR_IDENTIFIER -> x86 Family 6 Model 8 Stepping 3, GenuineIntel
    Setting project property: env.JAVA_VENDOR -> Sun
    Setting project property: env.TEMP -> C:\DOCUME~1\fkhan\LOCALS~1\Temp
    Setting project property: env.ONEX_JAVA_HOME -> /bea/jdk141_05
    Setti

    Can somebody tell me how to run the webservices in weblogic samples,when i run this(build.xml)i get the following error.
    =========================================================Buildfile: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml
    clean:
    [delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
    [delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
    compile:
    [mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
    [mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
    [javac] Compiling 1 source file to E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
    ear:
    [servicegen] Generating service "HelloWorld" ...
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.StubImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:12: package weblogic.webservice does not exist
    [servicegen] public HelloWorldPort_Stub( weblogic.webservice.Port _port ){
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:9: package javax.xml.rpc does not exist
    [servicegen] public interface HelloWorld extends javax.xml.rpc.Service{
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:11: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext context();
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:13: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext joinContext()
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:14: package weblogic.webservice.context does not exist
    [servicegen] throws weblogic.webservice.context.ContextNotFoundException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:16: package javax.xml.rpc does not exist
    [servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort() throws javax.xml.rpc.ServiceException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:18: package javax.xml.rpc does not exist
    [servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort(String username, String password) throws javax.xml.rpc.ServiceException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:10: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:24: cannot resolve symbol
    [servicegen] symbol : method _wrap (int)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
    [servicegen] args.put( "intVal", wrap( intVal ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:25: cannot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
    [servicegen] args.put( "string", wrap( string ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:27: cannot resolve symbol
    [servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
    [servicegen] java.lang.Object result = invoke( "sayHello", _args );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:29: package javax.xml.rpc does not exist
    [servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:31: package javax.xml.rpc.soap does not exist
    [servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:9: examples.webservices.basic.javaclass.HelloWorld_Impl is not abstract and does not override abstract method joinContext() in examples.webservices.basic.javaclass.HelloWorld
    [servicegen] public class HelloWorld_Impl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:40: cannot resolve symbol
    [servicegen] symbol : method _getPort (java.lang.String)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
    [servicegen] new examples.webservices.basic.javaclass.HelloWorldPort_Stub( _getPort( "HelloWorldPort" ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:49: cannot resolve symbol
    [servicegen] symbol : method _setUser (java.lang.String,java.lang.String,examples.webservices.basic.javaclass.HelloWorldPort)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
    [servicegen] _setUser( username, password, getHelloWorldPort() );
    [servicegen] ^
    [servicegen] 17 errors
    [servicegen] java.io.IOException: Compiler failed executable.exec
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:521)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(ServiceGenTask.java:597)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:195)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    BUILD FAILED
    E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml:42: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]
    Total time: 29 seconds

  • Apache XML-RPC & SSL

    I have a client desktop program that should connect to the server via xml-rpc and SSL. I use SecureXmlRpcClient and get the exception while execute method call:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
         at org.apache.xmlrpc.XmlRpc.createTypeFactory(XmlRpc.java:238)
         at org.apache.xmlrpc.XmlRpc.<init>(XmlRpc.java:193)
         at org.apache.xmlrpc.XmlRpcClientResponseProcessor.<init>(XmlRpcClientResponseProcessor.java:48)
         at org.apache.xmlrpc.XmlRpcClientWorker.<init>(XmlRpcClientWorker.java:43)
         at org.apache.xmlrpc.XmlRpcClient.getWorker(XmlRpcClient.java:347)
         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:190)
         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
         at ClientOTK.main(ClientOTK.java:48)
    What does it mean and what should I do ?

    Hi JZ,
    Did you get the answer for your problem? I am using the jars xml-rpc 2.0.1 and common-codec 1.2. I could run the http transaction successfully. But having problem with SSL. I kept getting SocketException :
    java.net.SocketException: Unexpected end of file from server
         at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:818)
         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
         at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:816)
         at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:635)
         at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)
         at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
    I appreciate the comments to resolve this exception.
    thanks jassi

  • Javax.xml.rpc.ServiceException

    Hi,
    I am very new to this forum.
    I have a servlet Samples.java I included jaxrpc.jar file in C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\prac\lib
    still getting java.lang.ClassNotFoundException: javax.xml.rpc.ServiceException
    Please anyone guide me hw to rectify this exception.
    Thanks in advance,
    -vissu

    Have the DBA/SYSADMIN grant you JAVA_ADMIN Role or have these two permissions granted to the user account:
    execute dbms_java.grant_permission( 'USER', 'SYS:java.lang.RuntimePermission', 'accessDeclaredMembers', '' ) ;
    execute dbms_java.grant_permission( 'USER', 'SYS:java.util.PropertyPermission','java.protocol.handler.pkgs', 'write' ) ;

  • Connecting external middleware using xml-rpc

    Hello together,
    I'm not a SAP specialist. But I have to integrate an external middelware in the eh&s module. The middleware is offering a xml-rpc interface only.
    Can anybody tell me best practices to connect an external middleware using xml-rpc?
    My ideas are to develop a JCo for the R3 based systems an to use JCA for the NetWeaver systems.
    Is that best practice?
    Thanks and regards,
    Matthias

    Hi,
    I am trying to implement and run the sample application given under {Forte_Root}/install/examples/xmlsvr.
    I have done all the required steps, but I am getting this error given below.
    I am using soap-2_3 for SOAP and xerces-2_2_1 for XML parser, my server (Forte UDS)is on windows NT.
    Please Note:- While connecting to the External web sites from my office, I need to connect through the firewalls and I need to give the user name and password to access the external web sites.
    so my question is,
    1. while connection to the server (Forte UDS SO) does it make connection to external website such as
    xmlns:xsd="http://www.w3.org/1999/XMLSchema"
    xmlns:xsd1="http://localhost/bankservices.xsd"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    and since i have to connect through the firefall and use the passwords, Am I not able to make connection?
    2. Does any body of you had similar problem and how you are able to resolve this.
    3. If I need to give user name and password, while making connection to external website, can you please tell, where I need to specify that. (Will it be in WSDL file etc)?
    Your help is appreciated
    Thank You,
    Srikanth
    -------------------ERROR---------------------------------
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.ConnectException: Connection refused: connect; targetException=java.lang.Il
    legalArgumentException: Error opening socket: java.net.ConnectException: Connection refused: connect]
    at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)
    at org.apache.soap.rpc.Call.invoke(Call.java:248)
    at com.forte.xmlsvr.bankservices.BankSOProxy.GetAccountData(BankSOProxy.java:105)
    at com.forte.xmlsvr.examples.BankClient.main(BankClient.java:12)
    ------------------------ERROR-------------------------------------------------

  • NoClassDefFoundError: javax/xml/rpc/Stub

    Hi,
    I have a problem running the example Hello JAX-RPC application that comes with the JWSDP-1.1. I can run the application ok using ant, but if I try to run the program from the command line without using ant, I get NoClassDefFoundError: javax/xml/rpc/Stub
    The command I'm using is
    java hello.HelloClient
    I have updated my CLASSPATH to include all the jar's that are used in the build.xml file. My CLASSPATH should be complete as I used the output from ant show-props to get it.
    Thanks.

    I checked the jaxrpc-api.jar file using
    jar -tf jaxrpc-api.jar
    The contents (lsited below) does not contain javax/xml/rpc/Stub
    Thanks again
    META-INF/
    META-INF/MANIFEST.MF
    javax/
    javax/xml/
    javax/xml/rpc/
    javax/xml/rpc/encoding/
    javax/xml/rpc/handler/
    javax/xml/rpc/handler/soap/
    javax/xml/rpc/holders/
    javax/xml/rpc/server/
    javax/xml/rpc/soap/
    javax/xml/rpc/Service.class
    javax/xml/rpc/ServiceException.class
    javax/xml/rpc/Call.class
    javax/xml/rpc/encoding/TypeMappingRegistry.class
    javax/xml/rpc/encoding/TypeMapping.class
    javax/xml/rpc/encoding/SerializerFactory.class
    javax/xml/rpc/encoding/DeserializerFactory.class
    javax/xml/rpc/encoding/Serializer.class
    javax/xml/rpc/encoding/Deserializer.class
    javax/xml/rpc/encoding/DeserializationContext.class
    javax/xml/rpc/encoding/SerializationContext.class
    javax/xml/rpc/encoding/XMLType.class
    javax/xml/rpc/handler/HandlerRegistry.class
    javax/xml/rpc/handler/soap/SOAPMessageContext.class
    javax/xml/rpc/handler/MessageContext.class
    javax/xml/rpc/handler/GenericHandler.class
    javax/xml/rpc/handler/Handler.class
    javax/xml/rpc/handler/HandlerInfo.class
    javax/xml/rpc/handler/HandlerChain.class
    javax/xml/rpc/ParameterMode.class
    javax/xml/rpc/JAXRPCException.class
    javax/xml/rpc/FactoryFinder.class
    javax/xml/rpc/NamespaceConstants.class
    javax/xml/rpc/ServiceFactory.class
    javax/xml/rpc/Stub.class
    javax/xml/rpc/holders/BooleanWrapperHolder.class
    javax/xml/rpc/holders/Holder.class
    javax/xml/rpc/holders/BigDecimalHolder.class
    javax/xml/rpc/holders/BigIntegerHolder.class
    javax/xml/rpc/holders/BooleanHolder.class
    javax/xml/rpc/holders/DoubleWrapperHolder.class
    javax/xml/rpc/holders/ByteArrayHolder.class
    javax/xml/rpc/holders/ByteHolder.class
    javax/xml/rpc/holders/ByteWrapperHolder.class
    javax/xml/rpc/holders/CalendarHolder.class
    javax/xml/rpc/holders/DoubleHolder.class
    javax/xml/rpc/holders/FloatWrapperHolder.class
    javax/xml/rpc/holders/FloatHolder.class
    javax/xml/rpc/holders/IntHolder.class
    javax/xml/rpc/holders/LongWrapperHolder.class
    javax/xml/rpc/holders/LongHolder.class
    javax/xml/rpc/holders/IntegerWrapperHolder.class
    javax/xml/rpc/holders/ShortWrapperHolder.class
    javax/xml/rpc/holders/ObjectHolder.class
    javax/xml/rpc/holders/QNameHolder.class
    javax/xml/rpc/holders/ShortHolder.class
    javax/xml/rpc/holders/StringHolder.class
    javax/xml/rpc/server/ServletEndpointContext.class
    javax/xml/rpc/server/ServiceLifecycle.class
    javax/xml/rpc/soap/SOAPFaultException.class

  • Doing XML-RPC on J2ME devices

    I'm interested in doing some very simple XML-RPC (http://www.xmlrpc.com/) on a MIDP1.0 type of device.
    I discovered the useful but now apparently defunct kxmlrpc (http://kxmlrpc.objectweb.org/project/aboutProject/index.html). After spending two days chasing, and finally "fixing", an obscure, missing invocation of parser.skip() in XmlRPCParser.parseValue(), I concluded there has to be a better way to do XML-RPC on J2ME.
    I discovered JSR 172, but it looks like the API encourages SOAP programming, which doesn't meet my XML-RPC requirement. I could find no examples illustrating how to to XML-RPC with JSR 172 interfaces, although this doesn't prove one can't.
    How are people doing XML-RPC on J2ME these days? I'm baffled.
    Thanks.

    For those who may be interested, here are the mods I made to the kxmlrpc XML-RPC parser:
    1. In XmlRpcParser.java, add a parser.skip() before the parser.read() in parseValue()
    parser.skip();
    parser.read( Xml.START_TAG, "", "value" );
    2. In XmlRpcWriter.java, add a writeLegacy() before the methodCall start tag is written in writeCall()
    writer.writeLegacy(Xml.PROCESSING_INSTRUCTION,"xml version=\"1.0\"");
    writer.startTag( "methodCall" );
    Both of these changes probably a result of the difference in the XML-RPC server I used vs. what the author of kxmlrpc used. My XML-RPC server refused to accept the call without the XML processor instruction <?xml version="1.0"?>. And the parser was thowing 'unexpected' exceptions before the whtespace was stripped off the front end of <value> tags coming back in the response.
    In all, kxmlrpc seems to work fine for the basic data structures I'm dealing with (Strings, simple structs). I just wish there was a standard J2ME way of doing this sort of web service.
    http://kxmlrpc.objectweb.org/project/aboutProject/index.html

  • Sun 7410 XML/RPC Java client

    Hi,
    Trying to make use of the XML/RPC which gives through the CLI on Sun 7410.
    raw => Make raw XML-RPC calls
    Again on raw I don't see any commands
    ss_sun:raw> help
    Subcommands that are valid in this context:
    help [topic] => Get context-sensitive help. If [topic] is specified,
    it must be one of "builtins", "commands", "general",
    "help" or "script".
    show => Show information pertinent to the current context
    done => Finish operating on "raw"
    ss_sun:raw>
    I have written a sample java code and using the jar file tried to run.
    But some basic thing I am missing could you please help anyone on it.
    The command I want to execute the command status show.
    I tried many way but I could not do it
    The client code is
    import java.util.Vector;
    import org.apache.xmlrpc.XmlRpcClient;
    public class TestClient {
    public static void main( String args[] ) throws Exception {
    XmlRpcClient client = new XmlRpcClient( "https://x.y.z.a:215/" );
    client.setBasicAuthentication("login", "passwd");
    Vector params = new Vector();
    // params.addElement( "raw" );
    // params.addElement( "status" );
    params.addElement( "show" );
    Object result = client.execute( "status", params );
    if ( result != null )
    System.out.println( "Successfully done." );
    I am using xmlrpc-1.1.jar
    Any help on it I appriciate.
    Thanks & Regds,
    tmohanta

    Hi Satish !!!
    Thanks for your answer!!!
    I add  com.sap.security.api.sda to classpat...is that what you mean with "i.e UME API"???   IF it's so still doesn't  work... do you have any other suggestions?? it's very important, pls...
    Best Regards
    Walex

  • Error while running Java program which call a file upload servlet

    Hi all,
    I have a java program which calls a servlet and sends the file to be uploaded by the servlet. I used Jbuilder to create java program and servlet program. I compiled both the programs and compilation suceeded and my class files are avaialbe in
    WEB-INF/classes/content directory. But now I am trying to run the Java program(this contains main method) from the command prompt, which should inturn call my servlet.(I have web.xml file inside WEB-INF dir). But I receive the following error
    C:\tomcat5.5.15\apache-tomcat-5.5.16\webapps\content\WEB-INF\classes\content>java MultiContentSender
    Exception in thread "main" java.lang.NoClassDefFoundError: MultiContentSender (w
    rong name: content/MultiContentSender)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    My dir strcture is as below
    TOMCAT_HOME/webapps/content/WEB-INF/classes/content/*.class
    I am not able to figure out the error, can anyone throw some light on this issue.

    You are trying to invoke the class from the command prompt. My guess is that MultiContentSender contains a package, which means that you'll need to add your WEB-INF\classes directory to the classpath before it will work. Classes stored in this directory are expected to be invoked through tomcat, which builds it's own classpath.

  • Call Xml Publisher report from Jdeveloper

    Hi,
    I am first time integrating XML publisher with Jdevloper.
    I need to call xml publisher report from Jdeveloper.
    I followed all steps from anilpassi link for sample
    its showing error while tring to open pdf file
    Error:
    Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
    Please help ,i m stuvk because of this error.
    below is the code
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    // am.invokeMethod("getEmpDataXML");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("event fired");
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response =
    (HttpServletResponse)sessionDictionary.selectValue(null,
    "HttpServletResponse");
    try
    System.out.println("inside try");
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME, TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch (IOException e) {
    System.out.println("Exception1"+e);
    } catch (SQLException e) {
    System.out.println("Exception2"+e);
    } catch (XDOException e) {
    System.out.println("Exception3"+e);
    pageContext.setDocumentRendered(false);
    EmpAMImpl:
    public void initEmpVO() {
    EmpVOImpl vo = getEmpVO1();
    if (vo == null) {
    MessageToken errTokens[] =
    { new MessageToken("OBJECT_NAME", "EmpVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else {
    vo.executeQuery();
    public XMLNode getEmpDataXML() {
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode =
    (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Please help !!

    Hi,
    I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
    Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
    Please suggest way to solve this error or some other way of calling xml report from OAF page.
    Edited by: user13573749 on Apr 10, 2011 9:59 PM

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

Maybe you are looking for

  • NMH305 dies when copying large amounts of data to it

    I have an NMH305 still set up with the single original 500GB drive. I have an old 10/100 3COM rackmount switch (the old white one) uplinked to my Netgear WGR614v7 wireless router.  I had the NAS plugged into the 3COM switch and everything worked flaw

  • What does this error message even MEAN??

    So as I've been posting on here recently, I'm in the process of upgrading the OS on my old G4 from Panther to Tiger. I've received 2 different suggestions on how to safely do so (the 1st was simply to install Tiger on the 2nd partition of my internal

  • HT5071 How does Apple decide when a book - created in iBooks Author - is free versus when it is paid?

    I am considering creating a book made with iBooks Author but have a couple of unanswered questions. What determines how Apple chooses whether my book can make it into the ranks of being a paid book? In other words, I don't want to put a whole bunch o

  • ORA-27102: out of memory on Solaris 10 when running dbca

    Hi, This is a new box T2000 running the latest update of Solaris 10. I installed 10gR2 and its latest patch 4547817. When running dbca, when it tries to do clone database, it fails with ORA-27102. I have already set shared memory limits for oracle ac

  • Material Blocked by another user

    Hi, Can you confirm, At a time multiple user can create Sale/ PO Order with Same material & plant. kindly confirm. Regards, Venkat