Web Service deployment on Sun One 7

Hi,
I'm using Netbeans 5.5 and have built a web service that targets tomcat 5.5, J2EE 1.4 and source level 1.5.
The Service runs very well in the IDE.
Now, the company's Web Server is Sun One 7.0 and I'm trying to deploy to this server unsuccessfully. I moved all the built files from the IDE to the Sun One 7 folders and i get the following exception on startup.
Can anyone help please?
Thanks.
P.S (Do I have to install JWSDP somewhere? I see it mentioned here and there in the forum)
Error:
server has been shutdown
Sun Java System Web Server 7.0-Technology-Preview-3 B09/13/2006 13:07
info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_08] from [Sun Microsystems Inc.]
info: WSSERVLET12: JAX-WS context listener initializing
info: wsdl cannot be found from DD or annotation. Will generate and publish a new WSDL for SEI endpoints.
failure: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: java.lang.ClassCastException: com.sun.xml.xwss.SystemHandlerDelegateFactory
javax.xml.ws.WebServiceException: java.lang.ClassCastException: com.sun.xml.xwss.SystemHandlerDelegateFactory
at com.sun.xml.ws.spi.runtime.SystemHandlerDelegateFactory.getFactory(SystemHandlerDelegateFactory.java:129)
at com.sun.xml.ws.binding.soap.SOAPBindingImpl.setupSystemHandlerDelegate(SOAPBindingImpl.java:214)
at com.sun.xml.ws.binding.soap.SOAPBindingImpl.<init>(SOAPBindingImpl.java:66)
at com.sun.xml.ws.binding.BindingImpl.getBinding(BindingImpl.java:185)
at com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parseEndpoints(RuntimeEndpointInfoParser.java:108)
at com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parse(RuntimeEndpointInfoParser.java:66)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:110)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4171)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4697)
at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:838)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514)
at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47)
at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)
Caused by: java.lang.ClassCastException: com.sun.xml.xwss.SystemHandlerDelegateFactory
at com.sun.xml.ws.spi.runtime.SystemHandlerDelegateFactory.getFactory(SystemHandlerDelegateFactory.java:123)
... 17 more
failure: WebModule[]PWC1275: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: java.lang.ClassCastException: com.sun.xml.xwss.SystemHandlerDelegateFactory
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:128)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4171)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4697)
at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:838)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514)
at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47)
at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)
Caused by: javax.xml.ws.WebServiceException: java.lang.ClassCastException: com.sun.xml.xwss.SystemHandlerDelegateFactory
at com.sun.xml.ws.spi.runtime.SystemHandlerDelegateFactory.getFactory(SystemHandlerDelegateFactory.java:129)
at com.sun.xml.ws.binding.soap.SOAPBindingImpl.setupSystemHandlerDelegate(SOAPBindingImpl.java:214)
at com.sun.xml.ws.binding.soap.SOAPBindingImpl.<init>(SOAPBindingImpl.java:66)
at com.sun.xml.ws.binding.BindingImpl.getBinding(BindingImpl.java:185)
at com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parseEndpoints(RuntimeEndpointInfoParser.java:108)
at com.sun.xml.ws.transport.http.servlet.RuntimeEndpointInfoParser.parse(RuntimeEndpointInfoParser.java:66)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:110)
... 11 more
Caused by: java.lang.ClassCastException: com.sun.xml.xwss.SystemHandlerDelegateFactory
at com.sun.xml.ws.spi.runtime.SystemHandlerDelegateFactory.getFactory(SystemHandlerDelegateFactory.java:123)
... 17 more
failure: PWC1306: Context startup failed due to previous errors
failure: Null component com.sun.web-1:type=JspMonitor,name=jsp,WebModule=//wws/,J2EEApplication=none,J2EEServer=none
info: HTTP3072: http-listener-1: http://si-gln:8500 ready to accept requests
info: CORE3274: successful server startup

Did you got the solution for the issue you had?

Similar Messages

  • Web services problem on SUN ONE Studio4

    Dear All
    I am developing web services using sun ONE studio4 IDE. I am using examples from sun ONE studio documentation. "StockDemo Stock Service" if you know?
    Service is deployed successfully and when i execute the client first page is displayed when i put value in it and press "Invoke".
    An exception is thrown of Tomcat console.
    "Could Not connect with /StockService/StockService"
    My soap RPC URL is as follow
    "http://localhost:8000/StockServiceContext/StockService"
    web service is deployed on j2sdk1.3.1 (port:8000) instace R1 and client is accessing from tomcat web server(port:8081).
    Same case when i make my own stateless session bean and deploy its function with web service.
    I think there is error in soap RPC URL.
    Help me out
    Nadeem

    I'm also having problems with this example.
    MonitorFilter::IOException
    MonitorFilter::A web application object caused an exception
    MonitorFilter::java.rmi.RemoteException: HTTP transport error: java.net.ConnectException: Connection refused: connect; nested exception is:
    HTTP transport error: java.net.ConnectException: Connection refused: connect
    at StockWebServicePack.StockServiceClientGenClient.StockServiceServantInterface_Stub.findCompany(StockServiceServantInterface_Stub.java:79)
    at ......
    Did you find the solution for your problem? , if yes please post the solution.

  • "Cannot find FacesContext" deploying to Sun ONE Web Server 6.1

    I got this when trying to
    deploy to Sun ONE Web Server 6.1:
    [29/Sep/2004:15:16:15] failure ( 1512): for host 127.0.0.1 trying to GET /test/Page1.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    javax.servlet.ServletException: Cannot find FacesContext
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at jsps.Page1_jsp._jspService(_Page1_jsp.java:1131)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:667)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    ----- Root Cause -----
    javax.servlet.jsp.JspException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:399)
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
         at jsps.Page1_jsp._jspService(_Page1_jsp.java:63)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:667)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    I already deploy successfully to Tomcat 5 and (of course) PE 8. The common denominator with the same problem on OC4J is that both servers are j2ee 1.3 (even if Sun One runs with JVM 1.4).
    I copy the jstl 1.0 jars to some directory and enter such directory in the classpath suffix of JVM.
    Do Im missing something?
    TIA

    Hello,
    Try the following:
    After deploying the WAR file, by hand, add a sun-web.xml file to
    the deployed path in WEB-INF and make sure classloader delegate is set to false.
    <class-loader delegate="false"/>
    Now the bundled libs will be considered first.
    (After building the project, see a sample sun-web.xml
    in the build/WEB-INF folder - change Project view to Filesystem
    view, by right-click on the Project top-level node in the Project
    Navigator)
    You may need to include JSF jars in the WAR file by
    modifying the JSF Support library reference (mounted
    by default in the Project Navigator) by enabling all
    libraries for deployment)
    John
    JSC QA

  • JDBC error deploy in Sun ONE Web Server 6.1

    I just deploy to Sun ONE Web Server 6.1 SP3 and got the following message:
    Exception Details: javax.servlet.ServletException
    javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'smssa.listaProvs'.. class smssa.listaProvs : javax.faces.FacesException: java.sql.SQLException: [Sun][Oracle JDBC Driver]This driver is locked for use with embedded applications.
    AFAIK JSC�s JDBC drivers cand be deployed in Sun's web servers then WHY I got this meesage?
    Regards.

    Hi ICON_SS,
    I can explain, but the answer is not ideal :( You are correct that the license states that you can use the data direct drivers with Sun servers - but the server needs to have built in code for how to unlock the driver class (per agreement w/data direct, the drivers we have require code to unlock them so the drivers can't be mis-used)...
    The Web Server product team is working on releasing such a version as we speak, but I believe it won't be out for several months. But it's coming!
    v

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • Web Service Deployment Exception

    Hi All,
    I have created a Stateless session bean in which i am accessing JPA entities.
    In my session bean I have two methodes and i exposed those methodes as web services. I deployed this ejb project into server and search for my web service in Web Service Navigator. I didn't find my web service. Then I observer server logs. It is throwing a Web Service Deployment exception.
    Code:
    @WebMethod(operationName="readChannel", exclude=false)
         public ReadChannelResMsg readChannel(@WebParam(name="readChannelReqMsg")
         ReadChannelReqMsg readChannelReqMsg) {
              ReadChannelResMsg readChannelResMsg=new ReadChannelResMsg();     
              readChannelResMsg.setChannel(channelDao.findById(readChannelReqMsg.getChannelId()));
              return readChannelResMsg;
    Exception:
    [ERROR CODE DPL.DS.5030] Clusterwide exception: [server ID 3324150:Exception occured during web services deployment. Unable to generate serialization framework for web service ProgramPlanWS, application hcl.com/longterm_plan_ear.
    -> class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5:library:jaxb20 [email protected] alive incompatible with class com.sun.xml.bind.v2.model.impl.ClassInfoImpl:library:jaxb20 [email protected] alive
    server ID 3324150:com.sap.engine.services.deploy.container.DeploymentException:
    Why this exception is coming and how can i resolve this issue?
    Thanks
    Sampath G

    Hi,
    the initial exception suggest
    After an upgrade from SAP NetWeaver release 2004 to SAP NetWeaver release 7.0, according to the new SAP security policy, the J2EE Engine administrator user may be prompted to change his or her password. The password is changed in the User Management Engine (UME).
    According to SAP security policy, the J2EE Engine administrator password must be changed every 90 days. The password is changed in the UME.
    However, SDM reads the J2EE Engine administrator password not from the UME, but from the secure storage instead. The J2EE Engine administrator password is not changed in the secure storage. For more information, see SAP Note 870445.
    and the possible Solution could  be
    Change the J2EE Engine administrator password in the secure storage
    Regards
    Manohar

  • Question concerning Web Service Deployment

    I have a question on web service deployment as it pertains to multi-client SAP systems.
    I created and deployed a web service in the client that is used for the development of client-independent objects. There are no issues when calling the web service following deployment.
    I am trying to use the same web service on the same SAP system, but on a different client. What is the proper way for accomplishing this? As of right now, the only way I've been able to do this is to open up the desired client and deploy the service again. I tried to take a transport and copy it to the other client using SCC1, but it failed since all the objects referred to client-independent objects.
    Below is the URL of the WSDL that was generated via SOAMANAGER.
    http://svr-sap05-dev.xxx.com:8010/sap/bc/srt/wsdl/bndg_DF2B9EDC2EA40CF1A9B7001CC4459012/wsdl11/allinone/ws_policy/document?sap-client=120
    Client 120 is the client used for development and is where the web service was created and deployed. I would like to use the same web service, but in a different client.
    I tried in changing the logon parameters of the web service using SICF, but the invocation failed. It only works if the client mentioned in the logon data matches the client specified in the URL.
    I am assuming that SAP builds the namespace of the web service using the client specified in the above URL. If this is the case, then I will have no choice but to deploy this service manually in the other client.
    Is something wrong being done or do I have to do the same deployment in the other client?
    Regards,
    Vince Castello

    In Netweaver 7.01 (with SOAMANAGER) you can no longer deploy webservices via STMS.
    You have to login in each client and create endpoints in each one.
    It's a pain, but SAP says it's too risky to implement the solution via STMS or something like that.
    There is a SAP note about this.

  • Rt web services deployment failed

    I have a sbrio 9612 that I setup with an executable and web services.  I can get it to run great.  I then took an image of that one (using RAD) and deployed it to another sbrio 9612.  The web services don't work.  I then tried to deploy webservices the second sbrio with my project, and I came up with the error in the attached picture: Web Services Deployment Failed.  The NI Application Web Server is still loading.  
    All I can find about that is issues when deploying to a laptop with a wifi card, but nothing about that with a RT unit.
    Any thoughts?
    Thanks,
    Eric.
    Attachments:
    error.jpg ‏83 KB

    I have redeployed the firmware several times and it still doesn't work.  It works on the original unit I took the image from, but not on the unit I'm deploying the image to.  Using max is not an option because these are basically in an OEM environment and if I distribute an image to a customer they will not have national instruments installed.
    Besides, that defeats the purpose of taking an image, if it works correctly in one place, you should be able to take an image of that and deploy it on another unit.

  • Error invoking web service deployed in SOA Suite

    I have implemented a stateful web service in Jdeveloper 10.1.3.2.
    I can test succesfully an operation of the web service from the embedeed oc4j of jdeveloper, but i can not succes when i try do the same from the application server control of soa suite.
    The response of the web service in the second case, is the xml of the request.I can not understand.
    I implemented a web service proxy in jdeveloper that invokes the web service deployed in soa suite.When i run it, it gives me an exception like this:
    unexpected element name: expected={http://orclproject/types/}doLoginResponseElement, actual={http://orclproject/types/}doLoginElement
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:231)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._deserialize_doLogin(OrclLoginWSSoapHttp_Stub.java:1022)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._readFirstBodyElement(OrclLoginWSSoapHttp_Stub.java:891)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub.doLogin(OrclLoginWSSoapHttp_Stub.java:484)
         at orclproject.OrclLoginWSSoapHttpPortClient.doLogin(OrclLoginWSSoapHttpPortClient.java:65)
         at orclproject.OrclLoginWSSoapHttpPortClient.main(OrclLoginWSSoapHttpPortClient.java:28)
    where doLogin is the operation of the web service.
    any idea?
    thanks in advance...

    Hi,
    almost 8 months passed since this post, but if still actual then look at BUG: Request XML returned as response when result too large thread. It may be the same problem with large data sets.
    Regards,
    Patrik

  • Jdeveloper WS proxy error while invoking  web service deployed on weblogic

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

  • 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

  • External web services deployment

    Hi,
    I am facing a situation of web services deployment. I am using Jdeveloper 10g and oracle bpel process manager 10.1.3.1.0. I am not able to deploy web services. The following are the steps that I followed to consume that web service called web service called WeatherByCity from xmethods.net.
    Create new Application---> create new empty project( I named it 'projectgt') ----> new 'java web service from wsdl' from wsdl document url (http://ws.strikeiron.com/InnerGears/WeatherByCity2?WSDL ------------->
    --> In the default mapping options for Package Name I put 'projectgt' and root package for generated types I put 'projectgt.types'. All the other options are default. When I right click Webservices.deploy under resources and deploy to the application server, it says failed to deploy with the following message.
    ---- Deployment started. ---- Apr 21, 2006 5:00:07 AM
    Target platform is Standalone OC4J 10g 10.1.3 (AppServerConnection1).
    Wrote WAR file to D:\Application24\Projectgt\deploy\WebServices.war
    Wrote EAR file to D:\Application24\Projectgt\deploy\Application24-Projectgt-WS.ear
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Application Deployer for Application24-Projectgt-WS STARTS.
    Copy the archive to D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear
    Initialize D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear begins...
    Unpacking Application24-Projectgt-WS.ear
    Done unpacking Application24-Projectgt-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear ends...
    Starting application : Application24-Projectgt-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : Application24-Projectgt-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application Application24-Projectgt-WS to site default-web-site under context root Application24-Projectgt-context-root
    Operation failed with error:
    Error compiling :D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS\WebServices: Error instantiating compiler: Web service artifact generation failed:java.lang.NoClassDefFoundError: projectgt/types/com/strikeiron/ws/SubscriptionInfo
    Deployment failed
    Elapsed time for deployment: 26 seconds
    #### Deployment incomplete. #### Apr 21, 2006 5:00:32 AM
    I will be grateful for any response on this issue.
    Thankyou,
    Sagar

    As a matter of fact, I receiving a similar error for all other web services. Please let me know the error in my method of deployment

  • Web service deployment problem under sun 8

    I am deploying web service under sun8 app server. When I use wscompile to generate wsdl file it puts the following for the the service location:
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    which is replaced on deployment by the actual server name and port. However in my case the local server name and the public name are different. How can I configure what the "REPLACE_WITH_ACTUAL_URL" gets replaced with?

    As of now, I don't think you can do that. One ugly workaround is probably to deploy your app, shut down your app server, edit the WSDL present @ install_dir/domains/domain1/.. manually and restart the app server - that might resolve the issue hopefully :(

  • Web service deployed to outside of JDeveloper

    Hello, I've created a web service which runs fine within JDeveloper, but I'm running into problems when trying to deploy the WAR to a seperate container, specifically Tomcat. Tomcat throws an ClassCastException because, given the WAR created by JDeveloper, it expects the service endpoint to extend the Servlet API. I see no way to just plug the generated WAR into Tomcat without having to execute additional steps. The only solution I found, being new to both JDeveloper and Web Services, is to manually extract the service classes from the WAR and then use the AXIS client to add the service to Tomcat. I'm wondering if some one has found an easier solution, specifically:
    * is there a way, when creating your web service in JDeveloper, to make the end points more compatible with seperate contianers, i.e. am I using the wrong mapping type or some thing?
    * is there a way, when creating your deployment profiles, to make the generated WARs more compatible with seperate containers? I tried using the Deploy To > Tomcat option but still encountered the same problem.
    Any help would be GREATLY appreciated- we have a small development window (before the Oracle App Server is available) where code developed in JDeveloper will need to be deployed in Tomcat, hence the need. Thanks for your time. Take care.
    Sean

    Hello Sean,
    In Oracle JDevelopeg 10g R3 (10.1.3) the default stack used by Web services is JAX-RPC (the standard J2EE specifications).
    Even if JAX-RPC is a Java EE standard, each vendor (like EJB 1.x and 2.x) has some specific to ave a complete stack. So when you create a JAX-RPC service we have some dependency on some Oracle classes. So you can not directly deploy a WAR build for OracleAS Web Service to anoter container. (it is true the other way, with other vendor implemetation). Currently our Web Service runtime is not portable cross container.
    I think you should be able to use the Sun RI of JAX-RPC on Tomcat but in this case you need to create a specific build/war to be able to generate the correct artifact from your implementation class, SEI and WSDL. The Oracle Web Service team is currently working on a document explaning how you can create JAX-RPC services and deploy them in different container, but it is still an ongoing project and Tomcat is not the first targetted platform.
    Since you look familiar with Apache Axis, it is today the most portable Web Service stack, it has some limitations (support of WS-* for example), but based on your use case it looks using Apache Axis will be the best approach. As you may know Apace Axis is supported on OracleAS 10g R2 and R3.
    Regards
    Tugdual Grall

  • Net beans Web Service call from Sun Creator

    I am new to all of sun studio tools.
    Currently I am using Sun Java Studio Creator early access 2 and Net Beans 4.1 for my development project.
    I could not find tutorial to create web service using Sun Java Studio Creator therefore I am creating using Net Beans 4.1. I am having difficulty calling web service created in Net Beans 4.1 from Sun Java studio Creator. Could someone please help me out. I looked at all tutorial sun have available about Sun Java Studio Creator Early Access 2 and Net Beans 4.1.
    When Net Beans 4.1 is running, the web service can be called from Creator tool but once it's close, web service does not respond. Looks like I need to turn-on the Net Beans 4.1 server but don't know where to go.
    Bassically, I would like to call web service created in Net Beans 4.1 from Sun Java Studio Creator Early access 2.
    If somebody know how to create web service in Sun Java studio creator, please pass me the link would be great help.
    Thanks
    s

    Thanks for your reply.
    I looked at the tutorial link couple days ago but didn't help me.
    Coding is fine, no error. I checked the web service by refrencing URL and local WSDL file, it's responding fine when both Net Beans 4.1 and Sun Java Studio Creator EA 2 are up and running. Looks like to call web service locally, I need to have net beans 4.1 app server running concurrently with sun creator app server.
    I downloaded and installed Net Beans 4.1 bundled with SJS App Server.
    How do I turn on the Net beans 4.1 app server.
    There are some default WSDL file for sample projects in sun java studio creator ea 2.
    Is there a way to deploy the web service created in net beans 4.1 to sun java studio creator's specific directory and consume those WSDL file just like the sample project.
    Is there a way I can use one SJS App Server for both Net Beans 4.1 and Sun Java Studio Creator EA2. If then could you please pass me the tutorial to do so.
    Thanks
    S

Maybe you are looking for

  • Replacing word in a text  file...in java

    hello; could anyone plz help me in writing a program in java that will replace a specific word with a specific word?Though i can read and write to a file. I need it urgently....plz help me... regards [email protected]

  • Grant Access to folder for everyone - URGENT!!!!

    I've created a folder with the "wwsbr_api.add_folder" function, and I want to add privileges to another group or user. The problem arises when a user, different from the one who created the folder, tries to access to the documents contained in that f

  • Blurry images final cut pro

    Hi. I am trying to do a little film out of some still images I shot recently. However, after importing these images into final cut they all look blurry. When I am doing the same in imovie, I get a good result. What is the problem? How can I fix it? T

  • Firefox crashes when opening any page

    d763225d-a004-4e6c-9a95-a92342130116

  • Gallery will not open after Update

    This morning my Galaxy prompted me to update to the new system. It has updated two other times since I bought it late last year. I did not have any problems with it then. However, this time when I go to my gallery to view my pictures the application