B1WS Web services Wrapper

Hello,
I Recently downloaded and installed WEB SERVICES WRAPPER ( B1WS)
installation went fine i configured my IIS server to accept B1WS
all seems fine but when i try to use the loggin function
u2018 Create Service WebReference
  Dim login As LoginService = New LoginService
' service command login call
sessionID = login.Login(
"localhost", 
"COM_OBS_AUT_TEST", 
LoginWebRef.LoginDatabaseType.dst_MSSQL2005, true,
"sa", "xx", 
"manager", "manager", 
LoginWebRef.LoginLanguage.ln_English, true,
"localhost:30000")
I get an exception thrown which reads the following
LOGIN ERROR ENV: RECEIVER 100000001 Connection with liscense server failed.
this is a new tool availible from sap and i tried to get support direcetly from SAP but they never heard of this nor support it.
Anyone have this issue? am i missing a step in my configuration?

Sebastiano,
In the documentation for the B1WS tool as offered here on SDN ... it is offered "as is" ... meaning that you cannot ger support from SAP on this tool.  This is similar to all the SAP Business One SDK tools offered here.  At this link ...
https://www.sdn.sap.com/irj/sdn/businessone?rid=/webcontent/uuid/a0915b47-ef89-2a10-91a5-b22649e5cfab [original link is broken]
... you will see this line listed ...
"B1WS is delivered within the SDN license structure and therefore no support is provided."
That being said ... the issue you are getting is that it cannot find your SAP Business One License Server ... based on the message that you are getting.  What you need to verify is that you have the DI Server installed, configured and licensed as B1WS requires the DI Server.  You may also want to substitute the IP address of the machine that has the SAP Business One License server running on it ...
ex.  <ip address>: 30000
Eddy

Similar Messages

  • Web Services Wrapper Error : License Does Not Exists

    Hi,
    We are trying to connect to SAP Business One via the Web Services Wrapper. We installed the "B1WS: B1 Web Services wrapper " on the same machine running SAP.
    When we try to connect, by either using the WSDL Generator provided with the B1WS application or through SOAP client, we get this error:
    Receiver 100000008 License does not exist
    We have the following licenses :
    1. Coresuite
    2. mYUice
    3. SDK Tools
    4. SAP AddOns
    5. Professional User
    What more licenses do we require, if any?
    Also, are there two licenses with name "SDK" ?
    a. Software Development Kit License
    b. Software Development  Kit - Implementation License
    Regards,
    Mrugendra Bhure.
    Edited by: mrugendrabhure on Jan 29, 2010 11:25 PM

    Mrugendra Bhure,
    B1WS requires the use of the SAP Business One DI Server.  The DI Server has a seperate license that is required and is not part the of the licenses for the SDK Development or Implementation kit.  You need to purchase the DI Server and licensing for the DI Server is per CPU not named user like the rest of SAP Business One.  You can find more information on the DI Server in the SAP Business One SDK Help documentation
    Hope that helps,
    Eddy

  • B1 Web Services Wrapper doubts

    Hello everybody,
    I have the next doubts about B1 Web Services Wrapper:
    1. Is it possible to add/update/delete records in User tables by B1 Web Services Wrapper?
    2. Is there any way for using transactions with this tool?
    3. Is it possible to add/update/delete UDO's records using the wrapper?
    4. Any example or documentation about thess topics?
    Thanks in advance
    Hugo Moreno

    Hi,
    You can find the answers below:
    1. Is it possible to add/update/delete records in User tables by B1 Web Services Wrapper?
    Yatsea: yes, please refer to CompanyService.DoQuery(). which is similar to RecordSet.DoQuery in DI
    2. Is there any way for using transactions with this tool?
    Yatsea: There are 43 service available, including marketing document, eg, OrdersService, InvoicesService etc.
    Please refer to the B1WS document for mor details.
    3. Is it possible to add/update/delete UDO's records using the wrapper?
    Yatsea: Currently not.
    4. Any example or documentation about thess topics?
    Yatsea: Yes, You can refer to the document and sample after B1WS installation.
    Under <<C:\Program Files\SAP\SAP Business One Web Services>>
    Btw, it has nothing to with B1i, so move to SDK forum.
    Regards, Yatsea

  • B1 Web Services wrapper

    Tom,
    This looks like a duplicate post that was answered by Gianluigi ...
    B1WS: B1 Web Services wrapper
    Eddy

    Hi,
    You can find the answers below:
    1. Is it possible to add/update/delete records in User tables by B1 Web Services Wrapper?
    Yatsea: yes, please refer to CompanyService.DoQuery(). which is similar to RecordSet.DoQuery in DI
    2. Is there any way for using transactions with this tool?
    Yatsea: There are 43 service available, including marketing document, eg, OrdersService, InvoicesService etc.
    Please refer to the B1WS document for mor details.
    3. Is it possible to add/update/delete UDO's records using the wrapper?
    Yatsea: Currently not.
    4. Any example or documentation about thess topics?
    Yatsea: Yes, You can refer to the document and sample after B1WS installation.
    Under <<C:\Program Files\SAP\SAP Business One Web Services>>
    Btw, it has nothing to with B1i, so move to SDK forum.
    Regards, Yatsea

  • Web service wrapper in FB4 ignores Element when Attribute exists

    I created a web service wrapper in Flash Builder 4 using the "Data --> Connect to Data/Service... ".
    The WSDL contains a type like this:
    <xs:complexType name="Description">
    <xs:simpleContent>
      <xs:extension base="xs:string">
       <xs:attribute name="languageCode" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    In the response XML this type looks like this:
    <ns2:Description languageCode="en_US">My Description</ns2:Description>
    In this case the code generator ignores the element value ("My Description") and just creates a property for the attribute (languageCode="en_US").
    BTW: Not mixing elements and attributes in one type would be a possible solutions, but I usually deal with web services I did not implement and I therefore can't change.
    Has anyone had this problem and hopefully solved it?
    Regards,
    Martin

    Thanks for sharing your tips on this forum, as it will be useful for other users, that run into this issue.
    Feedback like this will also help us improve error reporting in the next release, as missing class files in the packaged application is a common issue when developers are moving from the embeded oc4j instance packaged with JDewveloper to standalone instances.
    -Eric

  • Can't call B1WS web services from other machines?

    Hi Everyone,
    We have come across a strange problem that I hope you might have the answer to.
    We are using B1WS and DISERVER on a Windows 2003 Server machine.  When I run code from within the machine that has DISERVER and B1WS running on it, it works fine.  It's really nice actually.  I register a web reference to the web service, and it connects and is able to process actions on SAP objects.
    The problem I have come into is when I do the same thing, but from another machine.  This means that I create a simple web app, make a web reference to the web service which is now running on another machine, and try to use the same code that works on the other machine.  It fails from this other machine, and when I look at the inner exception, this is what it says:
    "no connection could made because target machine actively refused 127.0 0.1 80"
    I am not sure what is happening.  We have reviewed the configuration, and it seems okay.
    Another way of describing this problem, in case this isn't clear yet, is  this:
    Machine A runs DISERVER and B1WS
    Running code which uses B1WS web service being hosted in Machine A works well.
    Running code in Machine B, which uses B1WS web service being hosted in Machine A does not work at all.
    Machine A and Machine B can see each other.  They can talk on port 80, no problems.
    IIS is running on Machine A, and is working fine.
    I am not sure where to turn next.  Please share your thoughts.
    Thank you very much,
    Mike

    Greetings everyone,
    We have found a solution to this problem, and it is very much like one offered by Trinidad, except there was some confusion in my understanding.
    http://sql-patch/B1WS/webreferences/LoginService.wsdl
    Indeed, the url http://localhost/Service.asmx appears in the WSDL files, as well as the web.config.
    I changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl in the WSDL files only.  This did not work.
    We then found it in the web.config file also, and changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl also.
    The reason I was using this URL is because the files exist there.  Looking at IIS, there is no Service.asmx anywhere in the B1WS path, and this confused me.
    This got us one step further, but now a new error was showing itself -- 405 Method Not Allowed.
    It turns out that the URL we needed to change it to is this:
    http://sql-patch/B1WS/Service.asmx
    That is, we replace localhost with the name of the machine, and NOTHING else.
    This seems to have solved it for us, and is hopefully useful for you.
    Thanks all,
    Mike

  • Java Web Services wrapper and connection management.

    We are currently evaluating the use of the SES Java web-services for a custom front end. I've downloaded the sample code and have read through the documentation but I'm confused on a few points.
    We will be OSSO protecting the app, so the flow I think I need to use is (on the OracleSearchService object):
    *setSoapURL
    *proxyLogin
    *setSearchUser
    *doOracleSearch
    (do whatever with results)
    From what I can tell each one of these does a separate call into the actual web service. Does this keep a connection open between these calls and if so how do we need to manage our connections in this case. Is there an explicit close method we should be calling? I see that we can get an OracleSoapHTTPConnection from the undocumented getConnection method on OracleSearchService but I'm unsure if we are supposed to interact with it directly.
    In a related vein how should we managing our OracleSearchService objects? Should we save an instance for each user in our httpSession, or just create a new instance on each call?
    Any insights appreciated,
    Jason

    No Problem at all
    Nomally the Web Service is big different between Web application. or you can build your Web service structure like web application structure. It depends on the web server:
    If the Web Server of hosting company has WEB Service framework, you just need know how to deploy your Web service to Web Service framework and How to deploy to Web Server. In this case, you need deploy it two time, one is for Web Server framework and one is for Web Service framework
    If the Web Server of hosting company doesn't has WEB Service framework, you need build your own Web Service framework into a web application, then you just need know how to deploy your web application with Web service into Web Server framework

  • B1WS: B1 Web Services wrapper

    1) Does that mean the partners and/or customers need to buy the DI Server as well or Just the SAP Business One licenses?
    B1WS is built on DI Server. You need a DI Server license to use B1WS.
    2) Has anyone out there :>) managed to get it working within a Java environment - I would like to share experiences?
    B1WS is built for ASP.NET. I don't know about any usage with Java so far.
    3) Performance testing - anyfeedback yet?
    I don't have any feedback but B1WS is built in a way not to add any unnecessary load on the server side. All it gets installed on the ASP.NET side is a very simple bridge that just gets SOAP requests from clients and forwards them into DI Server and viceversa gets replies from DI Server and forwards them to the requesting client. The SOAP message is created and formatted on the client side by the .NET proxies automatically generated by Visual Studio .NET when you import the web references into your project.
    4) Is the WSDL files RPC or Document Literal style?
    RPC style

    Mrugendra Bhure,
    B1WS requires the use of the SAP Business One DI Server.  The DI Server has a seperate license that is required and is not part the of the licenses for the SDK Development or Implementation kit.  You need to purchase the DI Server and licensing for the DI Server is per CPU not named user like the rest of SAP Business One.  You can find more information on the DI Server in the SAP Business One SDK Help documentation
    Hope that helps,
    Eddy

  • Create Entity Service as Web Service wrapper for Netweaver dev studio 7.1

    Hi,
    I am totally new to Netweaver.
    I was trying to create a CAF service that wraps my own service.On searching i found this document
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11669cea-0c01-0010-63b2-b98c35b1b370] where the process was mentioned.But this document is on netweaver 7.0 and i am working on 7.1 .
    Here while trying to create a entity service, its mentioned in the doc to right click on the entity service node..but in my netweaver i dont find that node anywhere..the only nodes i see are external and modeled..I am assuming the components must have chaged for version 7.1..
    Can anyone tell me where i can find the updated documentation for Netweaver 7.1 to create a entity service as a webservice wrapper.
    Thanks in advance.
    Regards
    Siri

    Thank you Dipankar..that solved my problem.
    Regards
    Siri

  • Updating Business Partner via B1WS web services

    Hi,
    I get an error when I try to update (through the 'update' function of the BusinessPartnersService object) a BP that has already a bank account; even if I populate the BPBankAccounts property with the existing info of bank account, I get:
    Bank account is in use and therefore cannot be removed or changed   [(----) 705-20]
    My code is:
                BusinessPartnersService px = NewBPService(LoginDefault());
                BusinessPartner bp = new BusinessPartner();
                bp.CardCode = "CADRIAT0000";
                bp.Phone1 = "041666666";
                BusinessPartnerBPBankAccount[] bpba = new BusinessPartnerBPBankAccount[1];
                bpba[0] = new BusinessPartnerBPBankAccount();
                bpba[0].BPCode = "CADRIAT0000";
                bpba[0].IBAN = "IT42L0350012500000000021179";
                bpba[0].Branch = "12500";
                bpba[0].BankCode = "03500";
                bpba[0].AccountNo = "000000021179";
                bp.BPBankAccounts = bpba;
                px.Update(bp);
    Does anyone know ho to update correctly a BP with an existing bank account?
    Thanks,
    Alessio

    Hi,
    First Use the getbykey to get the Business partnet then update.
    sample code is available with B1WS package
    Regards.

  • Where can i find resources to SAP B1 Integration Framework, Workflows and Web Services?

    Hello Professionals,
    I'm new to SAP B1, and i want to know more and comprehend the SAP B1 Integration Framework, Workflows and SAP B1 Web Services.
    I need resources to study them. Could you please help find a comprehensive resources to these topics specifically?. i have tried a lot to get some resources but they were not enough to understand the whole capabilities.
    Thanks in Advance,

    Hi Karem,
    Please check below links Video for Integration  Framework.
    SAP Business One Training - July 11, 2012 - Integration Framework (B1i) and Mobility by Vision33 - YouTube
    SAP Business One to SAP Business One Integration using B1i - YouTube
    Please check below links SAP Library Integration  Framework and Workflow.
    http://help.sap.com/saphelp_sbo900/helpdata/en/d7/dceab0d1ae42b1929ffaf1168a0bf7/content.htm
    Please check below link Video for Workflow.
    Workflow in SAP Business One 9.0 - YouTube
    Please check below links for Web Services.
    B1WS: Business One Web Services Wrapper
    Please check below links Video for Creating Web Services
    Part 1-Creating Web Services with B1if - YouTube
    Part 2-Creating Web Services with B1if - YouTube
    Part 3-Creating Web Services with B1if - YouTube
    Part 4-Creating Web Services with B1if - YouTube
    Part 5-Creating Web Services with B1if - YouTube
    Part 1-Consuming B1if Web Services by DotNet - YouTube
    Part 2-Consuming B1if Web Services by DotNet - YouTube
    Part 3-Consuming B1if Web Services by DotNet - YouTube
    Part 4-Consuming B1if Web Services by DotNet - YouTube
    Part 5-Consuming B1if Web Services by DotNet - YouTube
    Hope this help
    Regards::::
    Atul Chakraborty

  • BPM Studio call web service deployed by R12 Intergration Repository error

    Hi, I encountered a problem when calling a web service deployed by R12 Intergration Repository (SOA Gateway) w/ username/password authentication.
    It seems that the BPM Studio can not pass the security information to the web service. But using SoapUI it's quite easy to call the service with no error, just set the username and password, and set the password type to PasswordText.
    Under the External Resources catalog, I've set fileds in the Security tab with "Plain" Username Token, "sysadmin" Username and "sysadmin" Password, then changed the Authentication Type to "Username Token Profile". Then create a participant named sysadmin, and use this participant to run the process, but it just can't work.
    Anybody can help? My colleague also posted a topic here: processRemoteException when invoke  webservice from Oracle E-Business Suite but nobody answered. It would be very appreciated if sb. can fix this.

    I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy
    I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
    policy.username ="mark";
    policy.password = "password";
    tws = YourWebService();
    response = tws.callWebServiceMethod();
    I realize the security profile isn't tied anywhere to the web service, but try it anyway.
    There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
    Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
    Edited by: Mark Peterson on Mar 19, 2010 9:20 AM

  • Submitting xml using BI Publisher Web Services

    Hi,
    We are developing a web service wrapper around the BI Publisher web services and we are facing problems in consuming the BI Publisher web services.
    As per the scheduleReport method in the java class, it sends an xml data input to BI Publisher and the delivery is set to FTP. The report is not getting generated. The getScheduleReportStatus method returns an status of "Error"
    Earlier I had tried bursting the report to the same FTP server and it was working, the only problem was that it was not picking up the data from the xml which was being passed in the report request object.
    Then i reverted the code and used runReport instead of scheduleReport method. At that point of time, it started taking the xml file passed when i added the following line i.e. :
    repRequest.setSizeOfDataChunkDownload(-1);
    After this I again reverted back to scheduleReport method as our requirement needs a method which also handle bursting. Now neither of them are working (i.e FTP and input xml data).
    Code for the web service wrapper (around BI Publisher Web Service) is as follows :-
    =====================================================
    package biwebserviceproxy;
    import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.DeliveryRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.FTPDeliveryOption;
    import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.JobStatus;
    import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportService;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceService;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportResponse;
    import com.oracle.xmlns.oxp.service.publicreportservice.ScheduleRequest;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.util.ResourceBundle;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.xml.bind.annotation.XmlSeeAlso;
    import org.apache.commons.io.FileUtils;
    import org.apache.log4j.Logger;
    @WebService
    public class BIWebServiceProxy {
    private static Logger logger = Logger.getLogger(BIWebServiceProxy.class);
    private PublicReportServiceService publicReportServiceService;
    private String userId;
    private String password;
    public BIWebServiceProxy() {
    super();
    publicReportServiceService = new PublicReportServiceService();
    setUserId("Administrator");
    setPassword("Administrator");
    logger.info("BI Web Service Proxy Constructure Initialized");
    private PublicReportService getPublicReportService() {
    return publicReportServiceService.getPublicReportService();
    @WebMethod
    public String scheduleReport(HS1ReportRequest hsRepRequest) {
    ReportRequest repRequest = null;
    byte[] byteArray = null;
    File memberFile = null;
    FileInputStream fis = null;
    ScheduleRequest sreq = null;
    String returnValue = null;
    ResourceBundle rb =
    ResourceBundle.getBundle(BIWebServiceConstants.RESOURCE_FILE);
    sreq = new ScheduleRequest();
    repRequest = new ReportRequest();
    memberFile =
    new File(rb.getString(BIWebServiceConstants.REPORT_DATA_FILE));
    DeliveryRequest delivery = new DeliveryRequest();
    FTPDeliveryOption ftpDelivery = new FTPDeliveryOption();
    ftpDelivery.setFtpServerName(rb.getString(BIWebServiceConstants.FTP_SERVERNAME));
    ftpDelivery.setFtpUserName(rb.getString(BIWebServiceConstants.FTP_USERNAME));
    ftpDelivery.setFtpUserPassword(rb.getString(BIWebServiceConstants.FTP_PASSWORD));
    ftpDelivery.setSftpOption(false);
    ftpDelivery.setRemoteFile(hsRepRequest.getDestinationReportPath());
    delivery.setFtpOption(ftpDelivery);
    try {
    FileUtils.writeStringToFile(memberFile, hsRepRequest.getXmlData());
    fis = new FileInputStream(memberFile);
    byteArray = new byte[(int)memberFile.length()];
    fis.read(byteArray);
    } catch (IOException e) {
    logger.info("IO Exception while converting string input to XML : ",
    e);
    repRequest.setReportData(byteArray);
    repRequest.setAttributeFormat("pdf");
    repRequest.setAttributeLocale("en-US");
    repRequest.setAttributeTemplate(hsRepRequest.getReportTemplateName());
    repRequest.setReportAbsolutePath(hsRepRequest.getReportPath());
    // repRequest.setReportDataFileName(memberFile.getName());
    // repRequest.setSizeOfDataChunkDownload(-1);
    //Set DeliveryRequest
    sreq.setDeliveryRequest(delivery);
    //Set ReportRequest
    sreq.setReportRequest(repRequest);
    sreq.setNotifyWhenFailed(true);
    sreq.setNotifyWhenSuccess(true);
    sreq.setNotificationTo(rb.getString(BIWebServiceConstants.REPORT_NOTIFICATION_EMAIL));
    try {
    returnValue = getPublicReportService().scheduleReport(sreq, getUserId(), getPassword());
    } catch (InvalidParametersException_Exception e) {
    logger.info("InvalidParametersException_Exception while scheduling report : ",
    e);
    } catch (AccessDeniedException_Exception e) {
    logger.info("AccessDeniedException_Exception while scheduling report : ",
    e);
    } catch (OperationFailedException_Exception e) {
    logger.info("OperationFailedException_Exception while scheduling report : ",
    e);
    return returnValue;
    @WebMethod
    public String getScheduledReportStatus(String scheduledJobID) {
    JobStatus jobStatus = new JobStatus();
    try {
    jobStatus =
    getPublicReportService().getScheduledReportStatus(scheduledJobID,
    getUserId(),
    getPassword());
    } catch (InvalidParametersException_Exception e) {
    logger.info("InvalidParametersException_Exception while getting scheduled report status : ",
    e);
    } catch (AccessDeniedException_Exception e) {
    logger.info("AccessDeniedException_Exception while getting scheduled report status : ",
    e);
    } catch (OperationFailedException_Exception e) {
    logger.info("OperationFailedException_Exception while getting scheduled report status : ",
    e);
    return jobStatus.getJobStatus();
    private void setUserId(String userId) {
    this.userId = userId;
    private String getUserId() {
    return userId;
    private void setPassword(String password) {
    this.password = password;
    private String getPassword() {
    return password;
    }

    I would appreciate if anyone of you guys can help on this...

  • Q: General : When will you use Web Service as opposed to just Servlet and/or EJB?

    Hi,
    I don't know if this is an appropriate question to ask for this class as it's not
    workshop
    specific. I was wondering how will I decide when it is appropriate to use a web
    service as opposed to say servlet or an EJB for my application? What is a good
    rationale to use?
    Thanks,
    Sadhana

    Hi Adam,
    Thanks a lot for giving such a lucid explanation of my vague question!
    I understand now the difference between when to use EJBs/Servlets/Web Services.
    Thanks again!
    Sadhana
    "Adam FitzGerald" <[email protected]> wrote:
    >
    Hi Sadhana,
    Web service versus Servlet versus EJB. Which one to use? That is a very
    good question.
    EJBs should be the core desription and processing of your business rules.
    They generally
    have good performance, are easy to integrate into your security set up but
    they require
    access using the RMI-IIOP protocol. This means that generally EJBs are not
    accessible
    outside of your firewall and their clients have to be written in Java (other
    enterprise
    objects or applets or GUI applications).
    Servlets often form a web-based front end to EJBs. They also have good performance,
    integrate into security and only require HTTP access. This means they are
    accessible
    outside your firewall and any client with a HTTP or web API can call on
    them, however,
    there is no standard contract or rules for this type of interaction so you
    will need
    provide direct input into development of the client.
    Web services are also accessible via HTTP and so can be accessed from outside
    your
    firewall. In fact, Web services internally within Workshop and WebLogic
    actually
    operate by using servlets and EJBs but the main advantage is that the mechanism/contract
    for interacting with the web service is a well defined standard (WSDL) and
    can actually
    be registered or retreived dynamically (UDDI). Since web service standards
    are open,
    most popular programming languages already provide client APIs to interact
    with them
    thus freeing the web service developer from direct interaction with the
    client developer
    and letting the client be developed on any platform. The penalty for this
    openness
    is a small performance hit (XML translation) and a slowly maturing security
    model.
    So in summary, use EJBs for business operations that have Java clients within
    your
    enterprise, use servlets to provide web style access to your business operations
    (like web pages) and use web services to enable automated clients that can
    be written
    on any platform either inside or outside your enterprise (firewall). In
    fact, it
    is common to write the EJB first and then to expose some parts of it outside
    of your
    enterprise by writing a web service wrapper (maybe using the EJB controls
    that we
    saw in class).
    I hope this helps.
    Adam
    "Sadhana Jain" <[email protected]> wrote:
    Hi,
    I don't know if this is an appropriate question to ask for this class as
    it's not
    workshop
    specific. I was wondering how will I decide when it is appropriate to use
    a web
    service as opposed to say servlet or an EJB for my application? What is
    a good
    rationale to use?
    Thanks,
    Sadhana

  • Method as a WEB Service in an Application Service

    Dear Colleaguaes,
    When importing a web service method into a caf project, and exposing it as method into an application service, is it necessary to create an Entity Service as Web Service wrapper still?
    I can check that a web service method works, it returns the data, but it returns nothing when I try to test the corresponding method in the application service.
    I've also created a destination in Destination Template Management and done the external service to the destination configured mapping. But still without success....
    Thank you in advance,

    Hi,
    Thanks a lot for your help.
    Sorry i didn't specify before but I also have created Web Service Proxy from the URL of my Web Service into my web app. But now I don't now how to use the method that i created on my web service on to my web application.
    To be more specific I don't know how to wire the two af:InputText with my web service method in the way when I click the submit button it past the info to web service and which has to return the Student ID :
    Ex:
    Name: af:InputText
    LastName: af:InputText

Maybe you are looking for

  • Loop in file to IDoc scenario PI 7.11 (Support Package 04)

    In our scenario we use FileSenderCommunicationChannel to get files from FTP-Server. After processing the file should be saved in archive directory on our PI-Server (UNIX-System). Physically the archive directory is not in our PI-Server, it is a mappe

  • How do I import/export bookmarks in firefox 4?

    I am trying to copy bookmarks from an older computer to a new computer and I can't find import/export as in versions of Firefox. I am currently using version 4.

  • RC1 Task Manager - Users - Connect

    I am not able to connect to a user account from within Task Manager like I could in XP SP2. Step: Open task manager Select Users tab Select a different user currently running on machine Right-click and select connect Enter password. I get the error m

  • Create Stanadlone JARs with Third-party API

    Hi, I'm working on some personal explorations using OSB 11g, and for that I need to call some JARs with my code. But, the problem is that I'm using Apache POI API for reading MS Excel files. So, how do I go about exporting the POI API along with my c

  • Rename columns in Presentaion Layer

    Hi, I need to change the column names in the Presentaion Layer. I need only the beginning of the word to be uppercase. Do I have to go to BMM layer and use the rename wizard and get all the columns again to presentation layer. We have a lot of column