Skip to Content

Executing a web service....exception!


I get an exception when executing a call to the web service.

To create the wsdl, I used the SAP Enterprise Connector in NW04.

Sample of my code :

IMyBAPI4Service client =(IMyBAPI4Service) PortalRuntime


IMyBAPI4Service securedClient = (IMyBAPI4Service) client.getSecurisedServiceConnection(request.getUser());

if (securedClient.getURLEndPoint().getURL() == null) {

securedClient.setURLEndPoint(new URLEndpoint("http://<server>:<port>/irj"));


Bapi_Companycode_Getdetail_Input importParams = new Bapi_Companycode_Getdetail_Input();


Bapi_Companycode_Getdetail_Output exportParams = null;

try {

exportParams = securedClient.execute_BAPI_COMPANYCODE_GETDETAIL(importParams);

} catch (Exception e) {



Exception I get : Problem in server response: [Found].

Thanks a lot for the help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2005 at 02:47 PM

    Possible reason: user's password is expired.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.