dcs
Member
I created an E1 published business service/internal business service to call an E1 business function. I am attempting to consume the published business service in a .NET web service.
I added a web reference to the published business service in the .NET project and coded the call to the published busines service public method. My question is: how do I pass in the E1 credentials (user id, password, environment and possibly role)?
example of method names:--------------------------------------------
public ConfirmAddCostCode addCostCode(AddCostCode vo) throws BusinessServiceException {
return addCostCode(null,null,vo);
}
protected ConfirmAddCostCode addCostCode(IContext context, IConnection connection, AddCostCode vo) throws BusinessServiceException {
--------------------------------------------------------------------
I changed the protected method to public, but that generated a business services build error (IConnection parameter is an invalid parameter - not a java bean).
I am new to business services and wasn't sure how E1 credential processing is handled.
I added a web reference to the published business service in the .NET project and coded the call to the published busines service public method. My question is: how do I pass in the E1 credentials (user id, password, environment and possibly role)?
example of method names:--------------------------------------------
public ConfirmAddCostCode addCostCode(AddCostCode vo) throws BusinessServiceException {
return addCostCode(null,null,vo);
}
protected ConfirmAddCostCode addCostCode(IContext context, IConnection connection, AddCostCode vo) throws BusinessServiceException {
--------------------------------------------------------------------
I changed the protected method to public, but that generated a business services build error (IConnection parameter is an invalid parameter - not a java bean).
I am new to business services and wasn't sure how E1 credential processing is handled.