Skip to Content
author's profile photo
Former Member

JAXRPC Library Question !!

Environment : EP 6.0 Sp2

I have migrated an existing application to SAP portal as a service so that we can leverage existing code. It is used to connect to web services. To connect to web service, axis is used since it is used to publish the web services. Axis requires jaxprc and I think the version is 1.1.

When I run the service, I get lot of runtime errors (like NoSuchMethodFound or NoSuchFieldError) about the jaxrpc library in the portal environment. I have done the following to make sure my portal service uses my jaxrpc classes and not the portal environment ...

1) I included the jaxrpc.jar file in my portal service

protal-inf/private/lib directory but it is not

working.

2) I included the java source code of JAXRPC(from sun)

as part of my service and compiled them together to

generate one .par file for portal service. My portal

service is still not using my jaxrpc file since I get

the same error about jaxrpc classes and methods.

I cannot figure out a way to include my jaxrpc (1.1) files in the class path of my portal service to make my application work since the portal environment is providing the classes but they are not compatible with my application.

Is there a way to include jaxrpc.jar file in the EP 6.0 SP2 portal environment in such a way that my service can use those classes without affecting the portal environment ??

Note : 1) I deployed my service on EP 6.0 SP4 and it

working properly. Then I looked at the install

directory and I found jaxrpc-api.jar. These is

the correct version my application is looking

for.

2) For EP 6.0 Sp2, I think the jar files

inqmysoap.jar and inqmyxml.jar provides the

xml rpc functionality but my application is not

compatible with it. JAXRPC is a specification

and can be implemented by different vendors. My

application requires suns implementation.

Reference :

1)JAXPRC 1.1 version : http://java.sun.com/xml/downloads/jaxrpc.html

I appreciate your help !!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Jul 22, 2004 at 01:34 PM

    I looked at the SAP J2EE Engine 6.20 documentation. Under Administrative Manual there ia section called "Configuration of Additional Libraries". These details how you add an external library to the SAP environment.

    Also, I found a forum in which someone explain how to go about it ...

    SAP Enterprise Portal : Administration and Development

    I am wondering if it is the only way to include the jaxrpc.jar for the EP 6.0 Sp2 portal environment so that my portal service can use the right classes from my jaxrpc.jar file. Is it going to affect anything else since I will probably have to add the new library to irj service in J2EE engine.

    Appreciate your help !!

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Jul 23, 2004 at 06:31 PM

    Environment : EP 6.0 SP2

    The inqmysoap.jar includes javax.xml.rpc.* package. Does any one know what version of JAXRPC it implements. The available specification version can be found at ...

    http://java.sun.com/xml/downloads/jaxrpc.html

    Add comment
    10|10000 characters needed characters exceeded