A web service design issue with patterns

Hello,
I�d like to ask for your help in the following design issue:
I need to create an email sending web service (with Axis). Only just one method which returns with an integer return code. This handles the following:
- based on the given parameters gets the email addresses from an
LDAP server (with netscape ldap for java)
-     makes a cache from them (only after a timeout period will be the cache
refreshed) (don�t know what tool to use for this)
-     selects html templates which to be sent based on the given parameters
-     sends emails with the appropriate templates (with Velocity)
-     the whole process is logged (with log4j)
I have to write the code as generic as possible. I know that some design pattern should be used for this. (some from GoF , and I know there exists design patterns specially created for web services as well).
Could you enumerate me which patterns (and for what part of the program) would be the best choice to solve this problem? I have read through some books about patterns, but don�t have the knowledge to pick up the right one for a concrete problem like this..
Thank you in advance,
nagybaly

Hello,
I�d like to ask for your help in the following design
issue:
I need to create an email sending web service (with
Axis). Only just one method which returns with an
integer return code. This handles the following:Lots of responsibilities here. You would do well to break this up into several classes that you can test separately.
I would also advise that you not embed all this in a servlet. Make a service that collaborates with several objects to accomplish the task and let the serlvet just call it.
.> - based on the given parameters gets the email
addresses from an
LDAP server (with netscape ldap for java)I'd recommend Spring's LDAP module. Pretty terrific stuff.
cache from them (only after a timeout period will be
the cache
refreshed) (don�t know what tool to use for
this)Maybe EhCache or OsCache or something like that.
-     selects html templates which to be sent based on
the given parametersWhere does this come from? Certainly not the LDAP. A relational database? Write a DAO for the document template.
-     sends emails with the appropriate templates (with
Velocity)Have an e-mail sender service using Java Mail.
-     the whole process is logged (with log4j)Easily done.
I have to write the code as generic as possible. I
know that some design pattern should be used for
this. No pattern. There might be patterns, if you say that the DAOs to access the LDAP and RDB are patterns.
Stop thinking patterns and start thinking objects.
(some from GoF , and I know there exists design
patterns specially created for web services as
well).Nope.
Could you enumerate me which patterns (and for what
part of the program) would be the best choice to
solve this problem? I have read through some books
about patterns, but don�t have the knowledge to pick
up the right one for a concrete problem like this..
Thank you in advance,
nagybalyYou haven't read them because they aren't there. Your problem is pretty specific, even if it's common.
%

Similar Messages

  • Data Services Designer Issue with Job Server

    I am on Business Objects Edge Pro using the Data Services Designer.  When I try execute a job I get "The job server you have selected is not working."  In addition to that when I try to make any personal change to the environment I get a BODI-1260016 error.  Finally when you go to the help and about they show both the Job Engine and Job Server not responding. 
    I have opened up my CMC and it shows all servers enabled and functioning.  I do not know where to go from here.
    Thanks
    Cassidy

    Voila. I know I am a bit late to the conversation, but here was my solution. I was running Designer on my local machine. We also have Designer on the server. So I decided to remote to the server and compare settings. When the server desktop came up, good old Windows was there, announcing that BODS had changed since the last time it was run, and would I like to allow it to run (Y/N/Cancel)? Thanks, Windows. I said Yes, then went back to my local workstation, tried again to run a job, and no problem.
    This has happened with other software services (scripted ftp for example) that run on servers. Seems it can happen after a Microsoft Tuesday, or after software is upgraded. Always remember to log on to the server and clear any security dialogs that are preventing your service from running. Not really a BO solution, but it was my solution. YMMV.

  • Web services design issues.... for a newbie

    I have to develop several web services (JDev 9.0.2.822 and 9iAS R2). Almost all examples that can be downloaded from OTN expose simple web services that user java datatype like strings, ints and the like. In my case, the web services I should develop transfer custom information which are modeled as value classes or entity EJB's in my app. We deal with complex objects which contain collections/arrays/lists of other objects, and although most of the bussiness logic of the app is exposed via stateless session beanss and clases, I can not select their nethods since there ar no custom serializers for them.
    By reviewing the sample newsfeed web service I noticed that int their implementation they decided to "hard-code" the data by doing an XML-query to the db and constructing a custom XML document. this document is returned as a java string so the web-service is, at the end a very simple one, which uses no custom serializers. Of course there is code to create the XML doc, and there should be some XML parsing at the client in order to deserialize the XML into java in order to do something with it.
    My question is, is this the "preferred" method to deal with custom complex datatypes. should I include code in my beans and value classes so they "serialize" itself to XML so my web services have to deal with simple java strings? I have no experience in developing serializers, and I can't see why they are used? I am not sure which path should I follow, for example, should I use an array serializer to serialize a collection/array of object or should I better develop a method which will create a custom XML document repesenting the array? Are there any trade-off?
    I have to start development right away, so please give me some insinght.
    Thanks,
    Fedro.

    Yes, Oracle9iAS is currently production on 9.0.2. The target for OC4J 9.0.3 was end of summer but I have not seen it arrive yet. It is supposed to work in conjunction with 9.0.2 - i.e. you can use the OC4J 9.0.3 with the rest of your Oracle9iAS implementation. I think you are reasonably safe assuming it will be here by year end. I sit on the JDev side of the house so don't have specifics on what their actual delivery dates are but would guess sometime during September. The developer preview of OC4J 9.0.3 is currently available here on OTN as per the headline in the Web services Center at: http://otn.oracle.com/tech/webservices.
    There are two big advantages of OC4J 9.0.3:
    1. Interoperability testing ... it has been put through the SOAPBuilder's interoperability tests and includes a test suite for you to try it out 9.0.2 is fine here but you have evidence in 9.0.3;
    2. Feature/functionality - support for Web services based on JMS, document style Web service support, testing harness at the end-point, J2EE 1.3 certification, custom serialization support (not there in 9.0.2), cleaner PL/SQL based Web services and more - see:
    http://otn.oracle.com/products/ias/daily/jul22.html
    The development environment that goes along with it is JDeveloper 9.0.3. While OC4J 9.02/9.03 comes with what is called the Web services assembly tool for those who like scripting/command-driven approaches, JDev puts a traditional visual dev environment on top of the OC4J 9.0.3 environment (and also Apache SOAP 2.2/2.3.1, incidently) The developer preview of JDev 9.03 is due out within days here on OTN ... probably Tuesday based on what I understand. JDev 9.0.3 production is scheduled to arrive probably in late September mid-October.
    Hope this gives some background to help with your decision.
    Mike.

  • How to Create web service using JMS with PUB/SUB pattern.

    Hi All,
    I need to expose web service using JMS with PUB/SUB pattern.
    if you have any source for this.
    I tried to use @WLJmsTransport annotation but unable to get it done.
    I have configured all JMS server, topic, and connection factory.
    Thanks.

    Hi, I am having web sample web service program which is simple one.
    But I need to Modify this to JMS enable.
    Can any one help me?
    Thanks.

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • Removing xmlns from web service response issue (XSTL mapping)

    Hi XI experts.
    I'm having a very strange issue with a pamming program: It all started because the response from a 3rd party web service is coming with a "xmlns=http://....etc" in the document node and this was causing XI not to recognize the message.
    After reading most of the forum threads and with the help of other web resources, I was able to write a small XSLT program to remove this. The program seems to work perfectly: I can open the resulting XML document in IE, return it as a response to a test soapUI call, even load it all in "green" in the XI mapping test tool.
    But, when I feed the resulting message into the next mapping (XI mapping), only the Message Type node is produced at the other end!!! Not even an error message is issued. The same happens in the mapping test tool. Hoewver, I'm able to display the queues. I'm puzzled.
    This is my XSLT mapping, is there anything wrong with it?
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="*">
    <xsl:element name="{local-name()}">
    <xsl:for-each select="@*">
    <xsl:attribute name="{local-name()}">
    <xsl:value-of select="."/>
    </xsl:attribute>
    </xsl:for-each>
    <xsl:apply-templates/>
    </xsl:element>
    </xsl:template>
    </xsl:stylesheet>
    Thanks in advance.
    Carlos

    Hi Aamir,
    Thanks for your response. I will check it out.
    In the last 10 minutes or so I realized that the empty message is being produced because the first child node of the message is optional (0..1) and for some strange reason that source node mapped to it was not being recognized after the XSLT. I confirmed this by mapping this node to a constant. Then I restored the original mapping and now it's working - weird! It looks like something was messed up inside the XI mapping program.  I will continue testing however I am now off-site and have no connectivity via SOAPUI until Monday.
    Thanks.
    Carlos

  • SAP Web Services Design Tool on Windows 7 64-bit

    Hi,
    I have:
    - Windows 7 Pro 64-bit
    - Crystal Reports 2008 Build 12.3.0.601
    - Crystal Reports Server 2008 V1 SP3
    I want to install the SAP Web Service Design Tool, but during the installation I get an error message :
    Error 1920. Service SAPLicenseService failed to start. Verify that you have sufficient privileges to start system services
    I'm administrator of this machine - be sure.
    Any idea?
    Best regards,
    Mike

    Scott,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Design issue with the multiprovider

    Design issue with the multiprovider :
    I have the following problem when using my multiprovider.
    The data flow is like this. I have the info-objects IobjectA, IobjectB, IobjectCin my Cube.(Source for this data is s-systemA)
    And from another s-system I am also loading the masterdata for IobjectA
    Now I have created the multiprovider based on the cube and IobjectA.
    However, surprisingly join in not workign in multiprovider correctly.
    Scenario :
    Record from the Cube.
    IObjectA= 1AAA
    IObjectB = 2BBB
    IObjectC = 3CCC
    Records from IobjectA =1AAA.
    I expect the record should be like this :
    IObjectA : IObjectB: IObjectC
    1AAA       :2BBB       :3CCC
    However, I am getting the record like this:
    IObjectA : IObjectB: IObjectC
    1AAA       :2BBB       :3CCC
    1AAA         : #             :#
    In the Identification section I have selected both the entries for IobjectA still I am getting this error.
    My BW Version is 3.0B and the SP is 31.
    Thanks in advance for your suggestion.

    May be I was not clear enough in my first explanation, Let me try again to explain my scenario:
    My Expectation from Multi Provider is :
    IObjectA
    1AAA
    (From InfoObject)
    Union
    IObjectA     IObjectB     IObjectC
    1AAA     2BBB     3CCC
    (From Cube)
    The record in the multiprovider should be :
    IObjectA     IObjectB     IObjectC
    1AAA     2BBB     3CCC
    Because, this is what the Union says .. and the Definition of the multiprovider also says the same thing :
    http://help.sap.com/saphelp_bw30b/helpdata/EN/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    Do you still think this is how the behaviour of the multiprovider.. if that is the case what would be the purpose of having an infoobject in the multiprovider.
    Thank you very much in advance for your responses.
    Best Regards.,
    Praveen.

  • Web service proxy client with client cert cause SSLSessionNotFoundErr

    Hi,
    I tried to run web service proxy client with certification from JDeveloper 10.1.3.0.4 to call PKI enabled web service got folllowing error:
    WARNING: Unable to connect to URL: due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
    Web service deployed on OAS

    Hi,
    i am trying to invoke from JDeveloper (10.1.3) a CRM On Demand's Web Service and I hava the same problem:
    ADVERTENCIA: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
         at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:96)
         at testerlast.ContactClient.contactInsert(ContactClient.java:88)
         at testerlast.ContactClient.main(ContactClient.java:69)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
         at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:80)
         ... 2 more
    To do the invocation I have done a proxy to consume this Web Service, with the follow main:
    public static void main(String[] args) {
    try {
    testerlast.ContactClient myPort = new testerlast.ContactClient();
    System.out.println("calling " + myPort.getEndpoint());
    myPort.setUsername(nameUser);
    myPort.setPassword(password);
    ListOfContactData llista = new ListOfContactData();
    ContactData[] contacts=new ContactData[2];
    ContactData contact=new ContactData();
    ContactInsert_Input input=new ContactInsert_Input();
    // Login WS HTTPS
    String idSesion=connexioWS_CRM.logon(URL,nameUser,password);
    // Add contact
    for (int i = 0; i < contacts.length; i++) {
    contact.setId("ProvaWSCRM"+i);
    contact.setContactFirstName("JDeveloper"+i);
    contact.setContactLastName("prove"+i);
    contact.setCellularPhone("77777777"+i);
    contact.setDescription("Add contact with Id:"+contact.getId());
    contacts=contact;
    System.out.println("Id:"+contacts[i].getId()+" firstName:"+contacts[i].getContactFirstName()+" lastName:"+contacts[i].getContactLastName());
    llista.setContact(contacts);
    input.setListOfContact(llista);
    input.setEcho("off");
    System.out.println("Pwd:"+myPort.getPassword()+" Port:"+myPort._port+" endpoint:"+myPort.getEndpoint()+" user:"+myPort.getUsername());
    myPort.contactInsert(llista,"LIC","Broadset","OFF");
    // Logout en WS (HTTPS)
    connexioWS_CRM.logoff(URL, idSesion);
    } catch (Exception ex) {
    ex.printStackTrace();
    What's wrong? Any idea?
    Thank you
    Edited by: user12085357 on 31-oct-2009 10:39

  • Secured Web Service - security issue

    Hi,
    I have successfuly created Web Services Data Control, with authentication - userid/password (WSDL uses https).
    I have created a simple page with Search form and ADF read-only table for results.
    I'm getting following error when starting the page / executing the search:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Client hat SOAP-Fehler vom Server erhalten: Error on verifying message against security policy Error code:1000
    oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client hat SOAP-Fehler vom Server erhalten: Error on verifying message against security policy Error code:1000
    =====
    How can I verify content in <soapenv:Header><wsse:Security ........> tags in the message sent to SOAP server? Is there a way how can I configure generated Header (e.g. Password Type, or xmlns:wsu ... )?
    Thanks a lot for support,
    DanielF
    Edit: It seems, that Header is not composed properly (Security Subject: anonymous):
    Target URL -- http://localhost:7101/FSS_Demo-ViewController-context-root/faces/WebServices2.jspx
    <JAXWSMessageLogger> <errorLogException> Error while invoking endpoint "https://172.22.30.12:8114/DV900/AddressBookManager" from client; Security Subject: anonymous
    <WebServiceConnectionMessages> <debugExecuteFailure> Failed to execute a SAAJ interaction.
    oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client hat SOAP-Fehler vom Server erhalten: Error on verifying message against security policy Error code:1000
    How can I control the Header composition?

    Dimitar,
    thanks a lot for response, this is something new for me.
    When I edit Data Control Policies, JDeveloper throws following error:
    Mar 13, 2012 5:43:23 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    SEVERE: The policy manager repository path "C:\Dokumente%20und%20Einstellungen\fasda\Anwendungsdaten\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\oracle\store\gmds" does not contain any valid directories.
    java.lang.IllegalArgumentException: WSM-04694 : An invalid directory was provided to connect to a file-base MDS repository.
    When I ignore this error, "Edit Data Control Policies" window is displayed. There are no selected policies in the Security Tab.
    ====
    Edited by: DanielF on 13.03.2012 09:51
    Web service expects header in following format:
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>username</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    How shall I set up the Control Policies?
    Thanks a lof for support,
    Daniel

  • Web Service Security issue. need advice!!!

    I intend to create a webservice which provides a service for updating a clients data at a remote location. In other words, this service will update values stored in the database. Other than making sure that a user may not access others' data, are there any security concerns i should be wary of by allowing a web service to interact with a database?(although it will have to use the systems database handler class to do so)
    I intend to secure the connection and also implement a verification method of the user.
    -Thomas

    Dimitar,
    thanks a lot for response, this is something new for me.
    When I edit Data Control Policies, JDeveloper throws following error:
    Mar 13, 2012 5:43:23 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    SEVERE: The policy manager repository path "C:\Dokumente%20und%20Einstellungen\fasda\Anwendungsdaten\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\oracle\store\gmds" does not contain any valid directories.
    java.lang.IllegalArgumentException: WSM-04694 : An invalid directory was provided to connect to a file-base MDS repository.
    When I ignore this error, "Edit Data Control Policies" window is displayed. There are no selected policies in the Security Tab.
    ====
    Edited by: DanielF on 13.03.2012 09:51
    Web service expects header in following format:
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>username</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    How shall I set up the Control Policies?
    Thanks a lof for support,
    Daniel

  • Web Service Design Document Template

    Hi Experts,
    Can anyone please send me the good "Web Service Design Document (Tech Spec) Template" please?
    Thanks,
    Shriram.

    Hi,
    I was also getting same error once...However i was able to see my web service definition in F4. Selecting from F4 list was working fine but if i entered the name mannually, i was getting the same message as you got...may be its a Bug..
    Just to assist you, Have to activated the webservice from SICF before going for deployment using template or Adobe ?
    Just check if you have maintained the webservice in SICF.
    Thanks & Regards,
    Suchita

  • Is it possible to connect to a web Service(JAX-RPC) with a middlet?

    Is it possible to connect to a web Service(JAX-RPC) with a middlet?

    Hi
    Check this article: http://developers.sun.com/sw/building/codesamples/j2me-client/index.html
    Mihai

  • [Oracle Web Service Manager] Issues working with gateway

    Hello,
    Whenever we create a gateway which have a component id other then "C0003001" then we have to create its entry in "gateway-config-installer" and restart soa suite, Why its like that? Ofcourse we can not restart the soa suite on production.
    Moreover, we created a second gateway, it was assinged with id "C0003003" (first one was having if "C0003002") , also we created its entry in "gateway-config-installer" and restarted soa suite, then it was observed that services with gateway C0003003 are working but services with gateway idC0003002 have stopped working. Does this means that only one gateway can be active at a given time?
    Also on some developer machines, service urls provided by the gateway are not working (Page not found error occurs). What can be the possible reasons?

    Hai munir,
    I have some doubt on registering with the gateway and an registering the webservice. I think you have done the same.
    I specify my hostname and ports. I am working on Oracle SOA 10.1.3.3.0.
    Hostname: http://DWH-34316-K2.wipro.com or (10.118.70.181) Port: 7777
    Component Name: - user defined gateway name or what?
    Component type : - gateway
    Component URL : I have doubt on giving this In my case If I give like this is it correct. http://DWH-34316-K2.wipro.com:7777/gateway
    After this we will be registering a webservice.
    In that it will be asking the following details.
    service name : CallHelloWorld (In my case)
    service version: 1.0
    service description : user defined.
    WSDL URL : --> Here how we must want to give. I have given the wsdl taken from the Enterprise manager console. I have taken it while we test the web service we will find the service decription and I clicked it and taken that it is working one.
    http://dwh-34316-k2.wipro.com:7777/orabpel/default/CallHelloWorld/1.0?WSDL
    After I all this and click Next and It will go to the Http messenger page and in this page in URL column the same WSDL url given is auto populated and save and commit this.
    When I go to test page and paste the URL got from the Service WSDL Url and give submit query it is displaying the following error message.
    Failed to read WSDL from http://dwh-34316-k2.wipro.com:7777/gateway/services/SID0003017?wsdl:WSDL not found
    Please specify any other changes do I need make some changes in the server otherthan changing the Id in the gateway-config-installer.properties
    Can you help on this please. It is somewhat urgent.
    Regards,
    Mahes.

  • A web service design question

    Hello,
    I�d like to ask for your help in the following design issue:
    I need to create an email sending web service (with Axis). Only just one method which returns with an integer return code. This handles the following:
    - based on the given parameters gets the email addresses from an
    LDAP server (with netscape ldap for java)
    -     makes a cache from them (only after a timeout period will be the cache
    refreshed) (don�t know what tool to use for this)
    -     selects html templates which to be sent based on the given parameters
    -     sends emails with the appropriate templates (with Velocity)
    -     the whole process is logged (with log4j)
    I have to write the code as generic as possible. I know that some design pattern should be used for this. (some from GoF , and I know there exists design patterns specially created for web services as well).
    Could you enumerate me which patterns (and for what part of the program) would be the best choice to solve this problem? I have read through some books about patterns, but don�t have the knowledge to pick up the right one for a concrete problem like this..
    Thank you in advance,
    nagybaly

    This sounds like a known issue which is tracked in ADAPT01103681. Code from a .NET DataProvider is executed twice if the provider has input parameters.
    At this time there's no known solution for this. This was submitted to the development team and a fix is expected in Service Pack 2. At this time we have not announced a release date for SP2.
    Edited by: David Hilton on Jun 18, 2009 3:02 PM
    Corrected spelling.

Maybe you are looking for

  • Deletion of setup data : what are the consequences ?

    Hello, I am a sap basis guy, and currently perfroming an Upgrade (4.7-->ECC6). during the preparation phase, I had some problems with BW estraction data that correspond to the symptoms described in sap note 1083709; I executed the report RMCEXCHK and

  • HT201210 my iphone is locked up "in recovery mode"  need help unlocking

    Does anyone have any idea how to unlock "iphone in recovery mode". videos from youtube have not worked

  • Java heapsize usage increases while streaming messages

    Hello, We have created a scenario in which BlazeDS has been connected to a JMS topic. We noticed that every time a message is pushed into the JMS pipe, the Java heapsize usage increases. After we analysed a heap-dump, it appeared that the FlexClient

  • [Request] Virtualbox bin 2.0

    hi, I would really appreciate if somebody could create a PKGBUILD for the new virtualbox version 2.0 released today. (Not OSE) http://www.virtualbox.org/wiki/Downloads

  • Inventory Manager Fails to Start

    NW6.5 SP-4 ZFD 4.x IR-6 Logger Screen shows the following message: java: Classe com.novell.zenworks.desktop.inventory.servercommon .ZENWorksInventoryServiceManager exited with status 1 This is from the zenworksinvservice-051109063056943.txt file: [11