Skip to Content
avatar image
Former Member

Problem while importing a web service model.

Hi

I am building a simple send email application using a web service.

While creating a new model i am using following options.

step 1 - Select "Import Adaptive web service model"

step 2 - Select Wsdl Source

-


2.1 - Local file system or URL

Step 3 - No logical destination

step 4 - choose wsdl file from file system.

Process successfully done and model created.

BUT

when i am trying to run this application it is throwing file not found exception. i.e. not able to locate wsdl file.

java.io.FileNotFoundException: C:\AbysalEmail.wsdl (The system cannot find the file specified)

I am using remote network connection to access NWDS. and in remote drive C: itself i have saned my file.

Then Why it is not able to locate my file.

Please Help me out.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Jul 29, 2008 at 11:22 AM

    Hi,

    Its the Problem with Webservice proxy settings.

    create the destinations as said in this [document|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7]

    further help read [this|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e]

    Regards,

    Naga

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2008 at 02:36 AM

    Hi Saurabh,

    The wsdl u mentioned , requires authentication. make sure that is authenticated properly.

    regards

    Sumit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2008 at 04:54 AM

    I this file is on your local machine?

    Put this file on your server at same location. it worked for me

    Mandeep Virk

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2008 at 08:43 AM

    Hi

    I am using a remote connection to access NWDS.

    In romote drive I have kept a WSDL file in C:

    I have used same file to import web service in NWDS.

    Now what configuration shall i provide in J2EE Engine visual administrator under

    Web Services Security -> Dynamic web services proxies

    I have created a new Dynamic web service proxie. But dont know what to specify under Custom settings URL.

    When i mentioned C:\[wsdl file] there it throws following error.

    com.sap.engine.services.webservices.espbase.discovery.BaseIOException

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2008 at 11:32 AM

    Hi

    I have provided in J2EE Engine visual administrator under

    Web Services Security -> Dynamic web services proxies

    following configuration.

    I have created a new Dynamic web service proxie.

    And in it under connection settings -> URL i have specified

    http://<host>:<port>/

    Above is host name and potr from where my WebDynpro application runs.

    But my file is located in C:\

    I think i am unable to set mapping configuration

    from

    http://<host>:<port>/

    to

    C:\

    Where shall i ten keep my WSDL file.!!!

    Thanks.

    Edited by: Saurabh Agarwal on Jul 30, 2008 1:34 PM

    Add comment
    10|10000 characters needed characters exceeded