Users - Help with running service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - Help with running service

Vinay Agarwal

Hello,

I have spent hours trying to make this service run but it keep giving me

The following required parameter is missing: [userLogin.login.password] The following required parameter is missing: [userLogin.login.username]

According to my service definition and webtools display, this parameter isn’t required. I just can’t figure out what am I doing wrong.

Thanks in advance.

Vinay Agarwal

 

First, my service definition:

    <service name="checkConnectionPrice" auth="false" engine="java"

            location="org.ofbiz.order.order.GrayzillaOrder" invoke="checkConnectionPrice">

        <description>Make free connection or check price of paid connection</description>

        <attribute name="username" type="String" mode="IN" optional="true"/>

        <attribute name="password" type="String" mode="IN" optional="true"/>

        <attribute name="connUsername" type="String" mode="IN" optional="false"/>

        <attribute name="skypeNow" type="String" mode="IN" optional="false"/>

        <attribute name="price" type="String" mode="OUT" optional="true"/>

        <attribute name="connSkypePerm" type="String" mode="OUT" optional="true"/>

        <attribute name="connSkypeNow" type="String" mode="OUT" optional="true"/>

    </service>

 

Now, webtools display

 

Service: checkConnectionPrice

Schedule List All

 

 


Service Name: checkConnectionPrice
Description: Make free connection or check price of paid connection
Exportable: False

 


Engine Name: java
Invoke: checkConnectionPrice
Location: org.ofbiz.order.order.GrayzillaOrder
Default Entity Name: NA
Require new transaction: False
Use transaction: True
Max retries: -1

 

Permission Groups

 

NA

Implemented Services

 

NA

 

In parameters

 

Parameter Name

Optional

Type

Mode

Is set internally

Entity Name

Field Name

 

 

 

 

 

 

 


username

True

String

IN

False

 

password

True

String

IN

False

 

connUsername

False

String

IN

False

 

skypeNow

False

String

IN

False

 

userLogin

True

org.ofbiz.entity.GenericValue

INOUT

True

 

 

locale

True

java.util.Locale

INOUT

True

 

 

 

Out parameters

 

Parameter Name

Optional

Type

Mode

Is set internally

Entity Name

Field Name

 

 

 

 

 

 

 


price

True

String

OUT

False

 

connSkypePerm

True

String

OUT

False

 

connSkypeNow

True

String

OUT

False

 

responseMessage

True

String

OUT

True

 

 

errorMessage

True

String

OUT

True

 

 

errorMessageList

True

java.util.List

OUT

True

 

 

successMessage

True

String

OUT

True

 

 

successMessageList

True

java.util.List

OUT

True

 

 

userLogin

True

org.ofbiz.entity.GenericValue

INOUT

True

 

 

locale

True

java.util.Locale

INOUT

True

 

 

 


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help with running service

Vinay Agarwal

Never mind. Error is generated by another service.

 

 


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users