Web Services After Deployment...???

This may be a dumb question since I am new and evaluating BEA WebLogic products.
I follow the tutorials (Web Services, to be specific) all the way to build EAR
file and deploy it.
Now, WHAT DO I DO ???
Suppose my server is TestServer, my BEA Web Services is TestWebServices,
What URL should I navigate to verify the deployment is success ?
Here the the contents of my WebLogic Console Deployments:
Configurations:
Name: TestWebServices
Path: E:\Bea\TestWebServices
Deployment Protocol: Two-Phase
Staging Mode: nostage
Targets:
Independent Servers: TestServer
Deploys:
Module:TestWebServicesWeb Status:Active Target:testServer Type:Server LastAction:Success
Can I have a specific url example to try ?
Thanks.

I'd suggest you start with the tutorials on this site:
http://dev2dev.bea.com/index.jsp
-- Rob
Tom Nagel wrote:
This may be a dumb question since I am new and evaluating BEA WebLogic products.
I follow the tutorials (Web Services, to be specific) all the way to build EAR
file and deploy it.
Now, WHAT DO I DO ???
Suppose my server is TestServer, my BEA Web Services is TestWebServices,
What URL should I navigate to verify the deployment is success ?
Here the the contents of my WebLogic Console Deployments:
Configurations:
Name: TestWebServices
Path: E:\Bea\TestWebServices
Deployment Protocol: Two-Phase
Staging Mode: nostage
Targets:
Independent Servers: TestServer
Deploys:
Module:TestWebServicesWeb Status:Active Target:testServer Type:Server LastAction:Success
Can I have a specific url example to try ?
Thanks.

Similar Messages

  • Unable to access Web Method after deploying into the server

    Hi,
    I'm Unable to access Web method after deploying into the server.
    My Web method is 
    [WebMethod]
    [ScriptMethod(ResponseFormat = ResponseFormat.Json )]
    public object getOwners()
    DataTable dt = _qbObj.returnDDLData("employeedetails", "EmpID", "EmpFirstName");
    if (dt == null)
    return new { Result = "Error", Options = "Error getting data" };
    string[] strAttributes = { "ID", "Name" };
    string[] strColName = { "EmpID", "EmpFirstName" };
    List<SolOwners> lstObject = convertToList(dt, strAttributes, strColName, new SolOwners());
    var owners = lstObject.Select(c => new { DisplayText = c.Name, Value = c.ID });
    return new { Result = "OK", Options = owners };
    When I.m accessing that method after deploying into server, I got following error.
    System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: &lt;&gt;f__AnonymousType9`2[System.String,System.Collections.Generic.IEnumerable`1[&lt;&gt;f__AnonymousTypea`2[System.String,System.String]]] cannot be serialized because it does not have a parameterless constructor.
    at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError)
    at System.Xml.Serialization.XmlSerializationWriter.CreateUnknownTypeException(Type type)
    at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write71_anyType(Object o)
    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    --- End of inner exception stack trace ---
    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
    at System.Web.Services.Protocols.XmlReturnWriter.Write(HttpResponse response, Stream outputStream, Object returnValue)
    at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues)
    at System.Web.Services.Protocols.WebServiceHandler.Invoke()Please help me to solve that issue.Thank you.

    Hi Vani,
    What project are you developing? According to your code looks like an Asp.Net application? Am i right?
    If so , please repost in  ASP.Net Forum
    http://forums.asp.net for more efficient responses.
    This forum is discuss problems of C# development.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Startup class is run before web services are deployed

    Hello, I need to run a class at server start-up which uses web services deployed on the same Weblogic server.
    I'm using Weblogic startup class, which fires after the server is up and all modules have been deployed.
    However, it is fired before web services are deployed, so this solution doesn't work.
    Is there a way to have a class that is run by Weblogic after web services are deployed?
    Right now I'm using a timer that polls the server till the services are up and running, but I hope there's a cleaner way.
    thanx,
    Mike

    Thanx for response.
    Looking at the logs, the following came to light.
    1. My app does get deployed last, but the ServletContextListener in my app is fired after all modules "...transitioned from STATE_PREPARED to STATE_ADMIN".
    It took a few more seconds for all modules to transition "from STATE_ADMIN to STATE_ACTIVE".
    2. After all modules transitioned to STATE_ACTIVE, the log shows this:
    <Channel "DefaultSecure" is now listening on xxx.xxx.xxx.xxx:443 for protocols iiops, t3s, ldaps, https.>
    I assume that only at this point are web services accessible. The error that I get when trying to invoke a web service from ServletContextListener is:
    java.net.ConnectException: Tried all: 1 addresses, but could not connect over HTTPS to server: RLOCVGVY91 port: 443
         at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:289)
    So I dunno... If my ServletContextListener waits for 10 seconds, everything works.
    Mike

  • Help:Invoke web service after receiving a user task response

    Hi, All:
    We encountered a problem while developing user task. The detail is as follows:
    We need to invoke a web service after a user task's response, that is to say, the web service needs some data from the response of the user task.
    Take the loan flow tuturial as a example, what we need to do is to invoke a web service after the BPEL process get the start loan APR. the web service needs the APR for its input message. how can I handle this situation?
    Thank you very much for your help!

    Thanks for your immediate response Jan Vervecken.
    I have created the Data Control from web Service proxy and I am able to recieve the output from the web Service.
    But, Currently I am invoking the webservice process method by a command button which populates my SelectOneChoice.
    My requirement is to invoke the web service 'process' method by value change event in the SelectOnechoice control.
    So, Can you pls. let me know how do I bind the web Service method 'process' to value change event of SelectOnechoice control?
    Thanks and Regards,
    Sandeep T

  • (266758030) Can WebLogic Workshop Web Services be deployed on a different Application Server?

    (266758030) Q(asked by Lalit Sudan): Can WebLogic Workshop Web Services be deployed
    on a different Application Server?
    A(by Adam Fitzgerald): .jws files are not yet an accepted standard so you can expect
    that the WebLogic Workshop Web Services cannot be ported to other Application Servers,
    however, it is a general goal to expand the functionality of the Workshop tool for
    other App Servers.

    Just so you'll know Oracle9iAS also includes apache as the HTTP server.
    As Suncan said, if you want to use Forms on the Web you need the Forms Server engine, and it comes bundled in Oracle9iAS. You'll save yourself a lot of headache if you just install Oracle9iAS and have everything pre-configured for you thus reducing maintanance costs.

  • Web service proxy deployment

    Hi ,
    I am using JDI environment to develop a webdynpro dc that
    use web service model . after the proxy generation and the local tests I want to deploy the webdynpro application to development environment and test environment , but the proxy client still points to the web service that runs on the local test environment.
    I know there is a way to configure logical port on the NWDS , but I think this solution does'nt suit the JDI environment. Another simple solution is to put an alias server name in the url of the wsdl file and maintain this alias on the hosts file (or dns ) of the diffrent servers , but it requires to os configuration.
    do you have any idea for a solution ?

    Hi Daniel,
    Check out this link. See if they are of any help to you.
    http://help.sap.com/saphelp_nw04s/helpdata/en/b5/ce88b82d7bfe4799ba7e175558d0ba/content.htm
    Regards
    Sidharth
    Message was edited by: Sidharth Deshpande

  • Web Service proxy deployment and reuse

    Jdev. 11.1.1.4
    Hi,
    In my ADF application I have created a web service proxy with Jdev wizard.
    I have created a method in order to test it and it works ok.
    Now, I need to reuse this proxy (the package) in other java applications also in Jdev but working with struts (I don't thnk this is important but....)
    I have created a deployment profile only for the ws proxy package and generated a jar file.
    This jar file has been declared in the second application and try to execute the same method that worked in the first application.
    Just in the first sentence:
    UtilGestionDocumental utilGestionGrupos = new UtilGestionDocumental();
    we are having an "unauthorized error". No time to declare any username nor password that are send in later instructions.
    The first part of the call to the WS that we are using is this:
    UtilGestionDocumental utilGestionGrupos = new UtilGestionDocumental(); <- Here it throws the error
    SecurityPoliciesFeature securityFeatures =
    new SecurityPoliciesFeature(new String[] {
    "oracle/wss_username_token_client_policy" });
    UtilGestionDocumentalPortType entidadDocPortType =
    utilGestionGrupos.getUtilGestionDocumentalSOAP12Port(/*securityFeatures*/);
    ((BindingProvider)entidadDocPortType).getRequestContext().put(BindingProvider.USERNAME_PROPERTY,"Username");
    ((BindingProvider)entidadDocPortType).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY,"Password");
    ((BindingProvider)entidadDocPortType).getRequestContext().put(BindingProvider."EndPoint....." );
    I think I'm not using the correct system to create a jar for the WS, am I ?
    someone can help me with this ?

    Does any expert can help in deploying a web service proxy as a jar file ?

  • URGENT **** Need help for JAX-RPC Web Service Proxy deploy to OC4J 10.1.3.5

    Hi everyone!
    I’m really new to web services.
    I’m getting a *500 internal server error* while deploying my JAX-RPC web service Proxy to an Oracle AS, in an OC4J, v. 10.1.3.5.0.
    Running my client from my development environment (*jdeveloper 10g, 10.1.3.5.0*) everything functions correctly: from jdeveloper I can contact and use the web service defined by the following endpoint: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    I created a "try_ws_client.jsp" file that runs correctly from my local development environment jdeveloper (that uses an embedded oc4j, v. 10.1.3.5.0) but fails when run from the test server (Oracle AS, in an OC4J, v. 10.1.3.5.0), getting, as I mentioned a 500 internal server error, a white page in IE but with FF the message says: The’s an error in the servlet .....
    Here's how I created the ws proxy and how I’m using it to consume the ws I mentioned.
    1. I used the jdeveloper “Create Web Service Proxy” wizard (File > New > Business Tier > Web Services > Web Service Prox) and in the WSDL document URL I put: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    2. The operation ended without adding nothing to the web.xml file and creating the proxy files. One of them is: FederaMLOLSoapClient.java that have the WS exposed methods (es: public boolean createUser(String) ) + a “main” method with the example how to use this client to consume the WS.
    public static void main(String[] args) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    3. In FederaMLOLSoapClient.java I’ve create the method "tyIt":
    public String tryIt(String username) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    if(myPort.createUser(String username)) {
    return “O.K”;
    } else {
    return “K.O”;
    } catch (Exception ex) {
    // logs error
    4. I created my try_ws_client.jsp file that creates FederaMLOLSoapClient object and calls the tryIt method, printing the “OK” or “KO” message.
    <%@ page import="it.reggiocity.provincia.biblioreggiane.*"%>
    <%
    String message = "";
    FederaMLOLSoapClient obj= new FederaMLOLSoapClient( );
    message = obj.tryIt(“AAAAAA70R10H226H”);
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>prova</title>
    </head>
    <body><%=message%></body>
    </html>
    The situation is:
    My try_ws_client.jsp runs correctly from my jdeveloper and the user is created while creating app.ear and deploying it to my Oracle AS/OC4J as mentioned above, I get a 500 Internal Server Error.
    Any idea to find a solution to this problem?
    Please help.
    Take care.
    John M.

    Hi,
    you want to build the Web Service, or you want to consume the Service as a client? If the latter, Web client (ADF?) or Java client?
    Frank

  • Issue in Web Service after the Windows migration from 2003 to 2008

    My application is a web service and it was working fine in windows server 2003 .after it was migrated to 2008 ,the web service is working fine and but when its consumed in another web application which is also migrated to windows server 2008 ,its saying
    "request channel  timed out while waiting for a reply for 00:30:29.9820000.Increase the time out value passed to the request or increase the SendTimeout value on the binding .the time alloted to this operation may have been a portion of
    a longer time out" error.The iis setting of my application in production has anonymous authentication enabled but the kerberos is not generating tokens and hence its also not working fine.When we disable the anonymous authentication the kerberos
    token is generated but the application is prompting for credentails.Please help me to resolve the issue

    Hi,
    Since this issue is more related to IIS, I suggest you refer to IIS forum below to get more efficient support:
    http://forums.iis.net/
    Best Regards,
    Amy

  • Web Service client deployment in JBoss 4.0.4 GA

    I need to write a web service client which would be deployed in a WAR file JBoss 4.0.4 GA container.
    The web service is written using JSR 181 and deployed in jbossws-1.0.2.GA .
    I would like to know which would be the best web service stack to use to write the client in the above mentioned scenario?
    TIA...

    Enable TCP/IP protocol. Select Microsoft SQL Server 2005>Configuration Tools>SQL Server Configuration Manager. In the SQL Server Configuration Manager select the node SQL Server 2005 Network Configuration>Protocols for SQLEXPRESS. Right-click on the TCP/IP node and select Enable. Restart the SQL Server (SQLEXPRESS) service. Right-click on the SQL Server (SQLEXPRESS) service in Services and select Restart.

  • Web Service - Cannot Deploy on Local OC4J

    We get the following error when trying to deploy the following code as a web service to the local OC4J.
    The parameter of domDoc of type oracle.xml.parser.v2.XMLDocument cannot be serialized into XML, and no custom serializer has been defined for it.
    All we want to do with this service is connect to the database and return the results of the query in XML. We have tried a string, but it returns a string of XML and we need it to return the XML.
    The code compiles, runs, and looks as though it is returning what it is suppose to if we write the return out, but the code will not deploy as a web service.
    Thanx so much
    Pam
    This is the code:
    package getuserform;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.sql.query.OracleXMLQuery;
    public class getUserInfo {
    public int GetUserInfo(XMLDocument domDoc){
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    } catch (SQLException e) {
    // TODO
    return(-1);
    String url = "jdbc:oracle:thin:@db:1521:v9it";
    Connection myCon;
    try {
    myCon = DriverManager.getConnection(url,"user","password");
    } catch (SQLException e) {
    // TODO
    return(-1);
    OracleXMLQuery qry = new OracleXMLQuery (myCon,
    "select upper(t.u_name_frst) || ' ' || upper(t.u_name_last) U_Name," +
    " t.user_id, " +
    " t.active Active, " +
    " to_char(t.termination_dt, 'DD-MON-YYYY') Termination_DT, " +
    " '(' || t.area_code || ') ' || t.phone_no Phone, " +
    " t.email Email, " +
    " t.city City, " +
    " (select dpl_desc from schema.dept_pay_locations dpl where dpl.dpl_num = t.pay_location) Pay_Location, " +
    " t.LOCATION Location " +
    " from schema.users t " +
    " where upper(t.user_id) like upper ('u227%')");
    // xmlStr = qry.getXMLString(); works.
    // return (qry.getXMLString()); works
    // !work
    domDoc = (XMLDocument)qry.getXMLDOM();
    qry.close();
    return(0);
    }

    Hi Pam,
    It is using Element as the method return that is causing the problem. As you've seen this means that the Data Control has no concrete schema types to associate with the fields so it fails.
    I have a couple of possible workarounds.
    1. Is it a requirement to write your SQL query in the method? Perhaps they are to be dynamic?
    If not, have you considered using the database to do the query and publishing that as the service. This would work around the problem. You can use JDeveloper to do all of this if you 'wrap' the query in a PL/SQL package in the database. Then use the 'Web Service from PL/SQL Package' wizard to generate the web service including wrapper Java classes for the package and DB connection/mgmt classes.
    Or you can publish the actual Query as a service - using the command line (unfortunately you can't use JDEV to do this)
    2. You mentioned the XSD for the query - if you have that then you can use a custom serializer and map your XSD to the return type of your method - the org.w3c.dom.Element class:
    a. if your web service is already generated - open properties (Web Services Editor)
    b. go to Custom Mappings page
    c. click Add
    d. for Java Class type in org.w3c.dom.Element
    e. for XML Qualified Name add your XSD
    f. add your serializer class - here is one I made earlier!
    package project3;
    import java.util.Map;
    import javax.xml.namespace.QName;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPException;
    import oracle.webservices.SOAPUtil;
    import oracle.webservices.databinding.SOAPElementSerializer;
    import org.w3c.dom.Element;
    public class DummyElementSerialiser implements SOAPElementSerializer
    public void init(Map map)
    public SOAPElement serialize(QName qName, Object object)
    try
    return SOAPUtil.toSOAPElement((Element) object);
    catch (SOAPException ex)
    return null;
    if you're generating the service from scratch this same mapping page comes up as part of the wizard
    Now you should be able to create your data control
    rgds
    Susan

  • Autentication error in Web Service after Login Module

    Hi Experts,
    I am getting a failed autentication when i try to access a web service. This is my scenario:
    I have developed my own login module using JAAS. When i call a web service, the login module is executed, then it validate the credencials and make the authetication true. After that the web service is called. The web Service is mark as user/password authetication. But i always get this error:
    Authentication for web service UtilityService, configuration UtilityService using security policy BASIC___ws failed: Login failed.. (See SAP Note 880896 for further info).
    Just for you know, the credentials taht i use in login modulo isn't the user of UME. I use user store in another user store. I fthe credential is correct pass to the Principal an user of UME. To login stack is right when pass to login module:
    LOGIN.OK
    User: tecbmmab
    IP Address: 192.168.14.48
    Authentication Stack: tridmen.com.br/pegasus~ear*pegasus
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          false      false                
    2. br.com.tridmen.login.ERPCEHeaderLoginModule                             REQUISITE   ok          true       true                 
            #1 Client = 800
            #2 Destination_reference = CUSTOM_DEST
            #3 SysId = DE1
            #4 SysNum = 00
            #5 TargetHost = tecs220
            #6 TrATicket = TRATICKETCTRL
    Central Checks                                                                                true
    After this, the error mention above, of web service happen.
    As my knowledge, when i call the web service i already have the session autenticate with login module. But this is not happen.
    Could someone help with this question?
    Best regards
    Marcos Brandã

    Hi,
    in what order did you specify your login modules? In that error message it looks like it's in wrong order. Your custom module should be first with SUFFICIENT and then standard user name/password with REQUISITE.
    Cheers

  • Exposed web services after restart of AS disappear

    hi,
    i create web services from the CAF application service. Then i deploy it with the whole CAF application to the AS. I can see and test the web service through the web services page in the portal.
    But when i restart the AS the deployed web services dissapper! Has anyone experienced such a problem?
    I am using the trial version of Netweaver CE 7.1

    The problem does not appear any more. Don't know why.

  • Into which AppServer directory are web service files deployed?

    Assume I compile Web Services (in JDeveloper) and deploy them to the Oracle AppServer.
    into which directory are the web service archives physically deployed?
    How can I find this out?
    Can I change this folder?
    Peter

    If for instance you deployed to the default domain then it would be in $ORACLE_HOME/bpel/domains/default/tmp directory. It will be prefixed with a dot in front of it so using ls command will not show it, but use ls -al.

  • To make a field null again using web services after inserting value.

    Hi All,
    I just wanted to ask you there is an Any Occ. Date which is a date field at a particular object.By default the value of this field is having null value.After filling the field if I further want to make it null value,it does not allow the field to make it blank once again by web services.
    Quick response will be highly appreciated.
    Thanks in advance.

    what i understood from you requirement is that, if tax_type is country, you want to skip state field and enter value for tax_rate. in case tax_type is state, you want to enter state also. so, as its a multi-record block, once you do set_item_property(enable/disable), it enables and disables state field for all the records.
    if i am correct, what you can do as workaround is use SET_ITEM_INSTANCE_PROPERTY rather than SET_ITEM_PROPERTY and set the INSERT_ALLOWED and UPDATE_ALLOWED properties to TRUE & FALSE, as you cannot set ENABLE property using that. though the field will be enabled, but user will not be able to key-in any value.
    hope it helps.

Maybe you are looking for

  • Creative Cloud Desktop App in English

    Hi all, I don't know if this was solved before and I've been looking for a solution but didn't found a clue. My CC desktop app is installed in to my mac but everything is displayed in english and it should be in Spanish. When I install any app (Photo

  • Vendor payment prob

    hai gurus, gd eve my prob is when iam trying to post a vendr payment system displayes a error message tht is the entry is missing 123(company code is 123)in table t043g can any one give me the solution points to be rewarded thx®ards, sravani Message

  • CRM 5.2 groupware integration error....

    Hi, I've set up Server side groupware integration of CRM 5.2 with MS outlook. The BPs are getting exchanged from CRM to Outlook and vice versa. Activities and Tasks are flowing from CRM to Outlook. But when Outlook tasks and activities are saved, the

  • Code Error with Case Statement

    Hi everyone, I'm new to PL/SQL and APEX and I'm trying to get this code to work. It is supposed to insert an sysdate if the named fields are changed and then update the fields. This is the code: BEGIN SELECT ATS_CLS_NAME, ATS_CEL_NAME, ATS_END_DATE,

  • PDF file generation

    I am unable to generate a pdf file of a report that I generated. I get Rep-03335 error. I can use all the help I can get