Results 1 to 2 of 2
  1. #1
    Kareng is offline Member
    Join Date
    Aug 2009
    Posts
    35
    Rep Power
    0

    Default What does this error code mean?

    I read that the version is required in paypal SOAP.

    And I have followed some sample out there to come up with the following codes for the setExpressServiceCheckOut:

    Java Code:
    //construct the request
            SetExpressCheckoutRequestType request = new SetExpressCheckoutRequestType();
            request.setVersion("94.0");
            requestType.setSetExpressCheckoutRequestDetails(requestDetailsType);
    
            SetExpressCheckOutReq req = new SetExpressCheckoutReq();
            req.setSetExpressCheckoutRequest(requestType);
    However, netbean 6.8 threw me these error:

    package request does not exist.
    <identifier>expected
    illegal start type.

    I hope someone can advise me how to rectify the error above.

    Furthermore, I have checked the paypal's API document that they do have SetExpressCheckOutRequestType
    import com.paypal.soap.api.SetExpressCheckoutRequestType;

    Thanks!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: What does this error code mean?

    What line is it giving that error on?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. What does this error code mean?
    By Kareng in forum New To Java
    Replies: 3
    Last Post: 10-26-2012, 04:37 PM
  2. eRROR with my code not sure why
    By Exceedinglife in forum New To Java
    Replies: 1
    Last Post: 04-25-2012, 07:16 AM
  3. Error in my code
    By MikeJ39 in forum New To Java
    Replies: 2
    Last Post: 10-19-2011, 09:58 PM
  4. error in code
    By Akap in forum New To Java
    Replies: 4
    Last Post: 01-31-2011, 06:37 AM
  5. Error Code???
    By andmartha in forum New To Java
    Replies: 11
    Last Post: 10-04-2008, 02:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •