Skip to Content
author's profile photo Former Member
Former Member

Problem creating mbo from web service

I am just beginning SUP development and I'm following along a few tutorials for MBO development.

Just so I know I'm doing this correctly I'll document the process I'm going through. I can view the web service in the web services folder in Enterprise Explorer. I created this web service from a local WSDL file. So I go into my new project, right click and select new mbo. I then name it and specify the the data source which is my web service. It is at this point that my case differs from tutorials.

My web service has no response. I just receives data so there is no XLST file. So I just manually add some dummy xml in order to continue with the creation of the MBO. I add credentials for authentication and then hit next.

In the Parameters screen it tells me I have an invalid parameter name of 'type' because I can't use a java or C# keyword. So I change it's name and hit next. Here's where I get an error that won't let me proceed. Execution Error: "Error occured during execution, please check the default values of the selected input paramters and refresh again. Reason: java.lang.NullPointerException.

Any help would be greatly appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 06, 2012 at 01:51 AM

    Hi, Jeremy

    One of possibility I thought is:

    your web service is treated as attributes and in this case at least one attribute is required as web service response (NullPointerException).

    when you created your mbo by drag and drop from "Enterprise explorer" view to "Mobile Application Diagram", "New Mobile Business Object Option" popup view appeared and then you selected Attributes radio button. So your mbo will behave as attributes.

    But your web service has no response and is just a operation.

    Try to create mbo as operation.

    I hope this will help you

    regards

    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.