Opening a WebLogic WebService file in Workshop

Hello,
Some of the members in our team are having this weird issue of opening a weblogic webservice in the workshop! Whenever we open the webservice, the design and source view take forever to load and everytime we change a comment or code, the save takes a very long time. We are not sure if the save/open is generating any artifacts behind the scene! We have event turned off the "build automatically" feature as well but that didn't help. Any one has an idea of what is causing this?
Thanks in advance for the help
SG

Hi,
In my opinion, it is based on the line text to get data, so if there are some text or newline character in the source file, it will generates the additional rows.
I think excel object model doesn’t provide the way to deal with it directly, you need to save CSV file with the correct format in your code.
For exist source file, you could modify the source file data, then import data to excel through excel object model.
Regards
Starain
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.

Similar Messages

  • Unable to open JSP files using Workshop JSP Editor 3.0

    Every time I try to open a JSP file in Workshop JSP Editor 3.0, I get the following error:
    Unable to create this part due to an internal error. Reason for the failure: Cannot open the specified document:
    null
    org.eclipse.ui.PartInitException: Cannot open the specified document:
    null
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.A(Unknown Source)
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.init(Unknown Source)
         at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
         at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
         at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
         at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
         at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
         at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
         at org.eclipse.wst.common.navigator.internal.actions.ResourceOpenListener.open(ResourceOpenListener.java:58)
         at org.eclipse.wst.common.navigator.internal.views.extensions.CommonOpenService.open(CommonOpenService.java:63)
         at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
         at org.eclipse.core.runtime.Platform.run(Platform.java:783)
         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
         at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
         at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
         at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
         at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
         at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
         at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
         at org.eclipse.core.launcher.Main.run(Main.java:973)
         at org.eclipse.core.launcher.Main.eclipse_main(Main.java:948)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    The jsp file is present in its directory, and the directory is not linked. Reinstalling BEA Workshop doesn't help. Any suggestions?

    Please post this question to the bea.workshop.developer.general newsgroup at http://newsgroups.bea.com/bea/forum.jspa?forumID=600000007
    Thanks
    Raj

  • Adf11g how to open pdf or html files from  webservice

    hi all,
    adf11g how to open pdf or html files from webservice .

    Hi,
    This is standard functionality, that you can read more about in the OLM User Manual. You can upload the files to an OLM content server or to any other content server that can be accessed with a URL.
    Regards Anders Northeved

  • Weblogic webservice problem

    Hi , friends, I have a problem regarding web services in oracle weblogic workshop.
    In our application we need to create 2 web services. We have 10 to 12 packages under src folder , i.e.,
    src(under this folder)------------------>com.abc.des.desk (like this we have couple of packages). All those packages are having different java related file, porlets etc.
    I need to create another package called com.abc.des.webservices
    under this I have to create 2 webservice (JAX-WS) with annotations.All these webservices along with remaining above mentioned packages goes to one single EAR file.
    I am unable to select JAX-WS related facets.
    When I select weblogic webservices , it is giving a warning message that "No projects found that support web services.The Standard Annotated Web Service facet must be enabled".I didn't understand where I need to enable them.
    Please suggest on this problem.
    Thanks a lot
    Peter.

    Hi Peter
    1. Since you used the words like portlets etc, I am assuming you have a PortalWeb Project. So you have like portalEAR, portalWeb and may be portalDataSync project. NOW under portalWeb project src you have your own packages. This is where you need to create a new WebService also under a new package. FIRST of all, you need to add Web Services Project Facet to this portalWeb pojrect. Still it may NOT work. But I will give you an idea. Select your portalWeb project. Right clikc mouse, select Properties. From Properties window on left side, select Project Facets. On right side you will see list of Facets already selected. Click on Modify Project button on bottom right hand corner. This opens up Project Facets window. Check the Facet named Web Services. NOW immediately in the bottom you may see some Errors like "Standard Annotated Web Services 2.0 and Beehive Controls 1.0.1 cannot both be selected" etc. I am talking about WLP 10.3 version. This means by default portalWeb project will have Beehive stuff facets Enabled to allow use of Pageflow Portlets. So you cannot add Web Services Facet to this Same portalWeb project. Unless you want to manully remove Beehive Facets (means you cannot use Pageflow portlets), then may be Web Services Facets can be added.
    One work around or more elegant solution is create a another brand new project like myWebServices project and enable Web Services for this. Nothing but create a new WebServices project with all Web Services Facets. Add this to the same portalEAR project. Then add all your webservices to this new project. NOW you can always invoke these Web Services from portalWeb project src code like utility classes or Pageflows etc. Incase if you want to use some utility classes across both portalWeb and webServices project, then you need to add all these classes into another simple Java Project. Then import this into both portalWeb and webServices projects.
    I saw another opotion also. When you select Web Services Project Facet, it has 2 child facets. Standard Annotated Web Services whose default version is 2.0. If you choose version 1.0, look like there are no dependencies. Means poralWeb project can have Web Services Facet provided you use Standard Annotated Web Sevices Version 1.0 (instead of default 2.0). Now using this you may loose some new features from 2.0. I am not sure to what extent this will work. But give this a shot in your dev Env. And see if you can create a simple webservice and live with that.
    portalEAR can have both portalWeb project and any other projects like webServices or Java utility porjects etc. All these projects will be bundled into one single .EAR file only for deployment.
    Thanks
    Ravi Jegga

  • Weblogic webservice

    Hi , friends, I have a problem regarding web services in oracle weblogic workshop.
    In our application we need to create 2 web services. We have 10 to 12 packages under src folder , i.e.,
    src(under this folder)------------------>com.abc.des.desk (like this we have couple of packages). All those packages are having different java related file, porlets etc.
    I need to create another package called com.abc.des.webservices
    under this I have to create 2 webservice (JAX-WS) with annotations.All these webservices along with remaining above mentioned packages goes to one single EAR file.
    I am unable to select JAX-WS related facets.
    When I select weblogic webservices , it is giving a warning message that "No projects found that support web services.The Standard Annotated Web Service facet must be enabled".I didn't understand where I need to enable them.
    Please suggest on this problem.
    Thanks a lot
    Peter.

    There is a difference between application server and program access to a webservice. especially is SSL used server needs the key to access the web service. What error do you get?

  • How to export a weblogic application between two workshops

    i need to develop an application on two different computers. how to make the application portable between two workshops?
    Thanks.
    Denis

    Thanks for the response, but correct if I'm wrong: I just could use this option to export to war file if I had the source code and the project created under the eclipse IDE. If so, I'm not able to do that, since I haven't received any source code from this vendor. I have only received one windows installer which installs the war files inside the weblogic domain\server folder.
    I thought that there was an option under the weblogic administration console -> domain -> deployments which would let me export an existing application to a war file.
    So far, I've found one work around that is:
    * Run the windows installer of this app into a weblogic running on a windows box ;
    * Once the deployment is up, go into the PATH where this application is running inside the weblogic and generate a war file with all the existing files ;
    * Open the weblogic administration console of the linux box;
    * Import the war file ;
    Thanks,
    Davinod

  • Weblogic WebServices Client: how to use HTTP 1.1 protocol ?

    Hi,
    I generated a stub ( jar file) to call a weblogic webservice from a client, both in weblogic workshop 8.1.4 and weblogic workshop 10.3.
    It seems that both jars (generated by weblogic) use HTTP 1.0 protocol (I can see the HTTP 1.0 requests from access log file)
    I would like to use HTTP 1.1 protocol : can I set some property ? Which property ? Can you help me ?

    Weblogic 10.3 generated client use HTTP 1.1 protocol

  • Weblogic WebServices Client: how to force HTTP 1.1 protocol ?

    I generated a stub ( jar file) to call a weblogic webservice from a client, both in weblogic workshop 8.1.4 and weblogic workshop 10.3.
    It seems that both jars use HTTP 1.0 protocol; I can see the HTTP 1.0 requests from access log file.
    I would like to use HTTP 1.1 protocol : can I set some property ? Which property ? Can you help me ?

    Weblogic 10.3 generated client use HTTP 1.1 protocol

  • Weblogic-webservices-policy.xml

    hi,
    iam getting the following error in weblogic-webservices-policy.xml
    Referenced file (weblogic-webservices-policy.xml) contains errors (http://www.bea.com/ns/weblogic/webservice-policy-ref/1.0/webservice-policy-ref.xsd).
    weblogic-webservices-policy.xml containts the following lines of code:
    <?xml version='1.0' encoding='UTF-8'?>
    <webservice-policy-ref xmlns="http://www.bea.com/ns/weblogic/webservice-policy-ref" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/webservice-policy-ref http://www.bea.com/ns/weblogic/webservice-policy-ref/1.0/webservice-policy-ref.xsd"></webservice-policy-ref>
    can anybody suggest how to fix this error?
    thanks
    john

    Hi!
    I was looking for some information regarding the weblogic-webservices-policy.xml file and founf your post. Did you success to solve the problem with it?
    Greatly appreciate any inputs
    Sincerely
    J.

  • Wls 10.3 weblogic-webservices.xml transaction-timeout attribute not working

    Hi, need some urgent need.
    I have a stateless ejb webservice and I'm trying to set the transaction timeout for some of the methods. Right now my webservice transaction is timing out to the default of 30 secs. I've tried setting in the admin console the JTA transaction timeout option, didn't work (file a case with bea support #81233). And after days of researching and searching I came across that you can setup the weblogic webservice transaction-timeout thru the weblogic-webservices.xml deployment descriptor. Tried setting the transaction-timeout attribute to 120 secs. and that didn't work. Here is the snippet of the xml file.
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-webservices xmlns="http://www.bea.com/ns/weblogic/weblogic-webservices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-webservices http://www.bea.com/ns/weblogic/weblogic-webservices/1.0/weblogic-webservices.xsd">
    <webservice-description>
    <webservice-description-name>com.starcomsoft.pp.system.jws.SystemWSImpl</webservice-description-name>
    <webservice-type>JAXRPC</webservice-type>
    <port-component>
    <port-component-name>SystemWSSoapPort</port-component-name>
    <service-endpoint-address>
    <webservice-contextpath>starcomsoft_ws</webservice-contextpath>
    <webservice-serviceuri>/SystemWSImpl</webservice-serviceuri>
    </service-endpoint-address>
         <transaction-timeout>120</transaction-timeout>
         <reliability-config>
              <inactivity-timeout>P0DT600S</inactivity-timeout>
         </reliability-config>
    </port-component>
    </webservice-description>
    </weblogic-webservice>
    Does anybody have any clue to solve my urgent need.
    Thanks in advance for your help or suggestion.

    Unhandled exception
    Type=Segmentation error vmState=0x00040000
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
    Handler1=F144C588 Handler2=F1446A9C
    Module=/app/oracle/product/Middleware/wlserver_10.3/server/native/aix/ppc/libmuxer.so
    Module_base_address=D8457000
    Target=2_40_20091214_049398 (AIX 5.3)
    CPU=ppc (4 logical CPUs) (0x600000000 RAM)
    ----------- Stack Backtrace -----------
    (0xD696E748 [libj9vm24.so+0x48748])
    (0xD8383EDC [libjclscar_24.so+0x10edc])
    (0xD8384514 [libjclscar_24.so+0x11514])
    (0xD6967718 [libj9vm24.so+0x41718])
    (0xD6967158 [libj9vm24.so+0x41158])
    (0xD69640D0 [libj9vm24.so+0x3e0d0])
    (0xD6932C9C [libj9vm24.so+0xcc9c])
    (0xD69BBA18 [libj9prt24.so+0x3a18])
    (0xD6932BB8 [libj9vm24.so+0xcbb8])
    (0xD69A77CC [libj9thr24.so+0x27cc])
    pthreadbody+0x118 (0xD010D784 [libpthreads.a+0x3784])

  • Weblogic Webservices Malfunction

    Hi to all. I'm developing WebServices with Java on Weblogic 12.1.2 server and I found two problems:
    1) The "beaInvoke" method appears in my webservice. This method isn't in my wsdl file, and I don't know why Weblogic is creating it. I don't want this method in my service,because this can be a possible security problem.
    2) In this java annotation
    @javax.jws.WebService( serviceName = "ConversorSeguro",
                          portName = "ConversorSeguroSOAP",
                          targetNamespace = "urn:atica:cursosoa:services:conversorseguro",
                          wsdlLocation = "C:/Workspace/projects/prototipo/ConversorSeguro?wsdl",
                          endpointInterface = "org.umu.atica.secure.wservices.ConversorSeguro")
    If I want to use in wsdlLocation parameter with relative path, like wsdlLocation = "prototipo/ConversorSeguro?wsdl" as I used to in OC4J, doesn't work. Weblogic needs a absolute path for do it. I need a relative path to use my webservice in develop and company servers.
    How can I solve this problems?
    Thanks.

    Hi!
    I was looking for some information regarding the weblogic-webservices-policy.xml file and founf your post. Did you success to solve the problem with it?
    Greatly appreciate any inputs
    Sincerely
    J.

  • Eclipse:package weblogic.webservice.tools.wsdlp does not exist

    Hi, everyone! I got an error While I was Compiling the Entire MedRec Project application on Eclipse3.1 with ant. However, when I used setEnv.cmd and ant command(), it's all Ok! The error message shows as below:
    banner:
    [echo] #### S T A R T C O M M O N W E B A P P ####
    [mkdir] Created dir: C:\medrec_tutorial\build\tmp
    build:
    [javac] Compiling 23 source files to C:\medrec_tutorial\build\tmp
    [javac] C:\medrec_tutorial\src\common\web\com\bea\medrec\utils\MedRecWebAppUtils.java:319: package weblogic.webservice.tools.wsdlp does not exist
    [javac] if (th instanceof weblogic.webservice.tools.wsdlp.WSDLParseException) {
    [javac] ^
    [javac] 1 error
    BUILD FAILED
    file:C:/medrec_tutorial/src/common/web/build.xml:29: Compile failed; see the compiler error output for details.

    Bruce Stephens <[email protected]> wrote:
    Hello,
    This looks like a bug that has already been reported and resolved. If
    you could provide your test case to our super support group [1], and
    reference CR127344, they should be able to sort out this issue.
    Thanks,Hi ,
    I also got the same error.If u find the solution please email me
    isuru [email protected]
    Thanx
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    Franck wrote:
    Hello,
    when I try to build my webservice with a stateless bean and a complexdata type (byte[]), by using ANT and SERVICEGEN.
    I have the following exception (with WL 8.1, but it works witout problemwith WL 7.0.4).
    *** ERROR:
    -package weblogic.xml.schema.binding does not exist
    [servicegen] extends weblogic.xml.schema.binding.BeanCodecBase
    What has changed between the both version.
    can somebody help me
    Tank you
    Regards

  • Java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPMessageImpl

    Hello Gurus,
    Can you please help me with following issue--
    I have created a secured web service's client from netbeans 6.8.Then I made a jar file of it.Then I have integrated that jar in my ADF application's viewcontroller project .I have used the jar from backing bean of a jspx page.
    If I create a main method in the bean and call the service from inside main method then everything works fine but if i remove the main method and call the service from a button click of the jspx page then i get the following error.
    <Jan 7, 2012 11:01:34 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <ActionListenerImpl><processAction> java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPMessageImpl cannot be cast to com.sun.xml.messaging.saaj.soap.MessageImpl
    javax.faces.el.EvaluationException: java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPMessageImpl cannot be cast to com.sun.xml.messaging.saaj.soap.MessageImpl
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassCastException: weblogic.webservice.core.soap.SOAPMessageImpl cannot be cast to com.sun.xml.messaging.saaj.soap.MessageImpl
         at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324)
         at com.sahaj.billDetails.NotifySREIBilling_OB_Stub.notifySREIBilling_OB(NotifySREIBilling_OB_Stub.java:67)
         at com.sahaj.tester.Tester.getBillDetails(Tester.java:94)
         at Test.cb1_action(Test.java:19)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 36 more
    My bean class looks as follows--
    public class Test {
    public Test() {
    *public String cb1_action() {//does not work*
    HashMap billDetails = new Tester().getBillDetails("212078438");
    System.out.println(billDetails.size());
    return null;
    *public static void main(String[] args) {//works*
    HashMap billDetails = new Tester().getBillDetails("212078438");
    System.out.println(billDetails.size());
    }

    Hi Mike,
    Support for SAAJ was added in WLS 8.1, see:
    http://edocs.bea.com/wls/docs81/webserv/interceptors.html#1058444
    Can you try your code on the latest release?
    Thanks,
    Bruce
    Mike Reiche wrote:
    >
    What do I need to fix this?
    WLS 7.0 sp2
    - Mike
    java.lang.Error: NYI
    at
    weblogic.webservice.core.soap.SOAPMessageImpl.saveRequired(SOAPMessageImpl.j
    ava:360)
    at
    com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec
    tion.java:228)
    at
    com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run
    (HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec
    tion.java:126)

  • Reliable SOAP messaging problems - weblogic.webservice.saf.StoreForwardException

    Hi Guys,
    I'm playing with the new SOAP reliable message transport in WL 8.1 SP 1.
    I have configured a simple web service, with void return, configured for
    reliable messaging. I deploy the client to the same server as the server
    hosting the webservice, and it uses the async invocation etc.
    It wasn't obvious how to throw the exception in the backend implementation.
    I simply grab the usertransaction
    and call ut.setRollbackOnly(). Hope that's correct..
    Whenever I invoke the operation, I get this:
    weblogic.webservice.saf.StoreForwardException: Could not find MessageData
    header in aknowledgement
    I have a JMS file store setup, and I have it assigned to the server via the
    services/webservice tab, and I do see some activity in the file store.
    My client looks like this:
    AsyncInfo asyncInfo = new AsyncInfo();
    asyncInfo.setReliableDelivery(true);
    FutureResult fr = port.startReliableOperation("hello World", asyncInfo);
    System.err.println("Client: Made invocation, invoking async end now");
    port.endReliableOperation(fr);
    Any ideas?
    Regards,
    Jon
    PS. [As an aside, aknowledgement needs a 'c']
    Client: port.StartReliableOperation()
    --S:In reliable TX operation
    --S:Going to roll back
    --S: Set setRolbackOnly()
    --S: Finished Reliable operation
    Client: Made invocation, invoking async end now
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220025> <Handler
    web
    logic.webservice.saf.SAFHandler threw an exception from its handleResponse
    metho
    d. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.>
    myserver:Info:Handler weblogic.webservice.saf.SAFHandler threw an exception
    from
    its handleResponse method. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220047> <A
    exception
    was thrown from callReceive in the Client Dispatcher.>
    myserver:Info:A exception was thrown from callReceive in the Client
    Dispatcher.
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220034> <A stack
    tra
    ce associated with message 220047 follows:
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing:
    weblogic.web
    service.saf.StoreForwardException: Could not find MessageData header in
    aknowled
    gement. (see Fault Detail for stacktrace)
    at
    weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.ja
    va:285)
    at
    weblogic.webservice.core.ClientDispatcher.callReceive(ClientDispatche
    r.java:119)
    at
    weblogic.webservice.saf.ConversationAssembler.getResponse(Conversatio
    nAssembler.java:302)
    at
    weblogic.webservice.saf.ConversationAssembler.execute(ConversationAss
    embler.java:536)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >

    Hi Jon,
    I've asked our WS RM guru to comment on your question, but I believe the
    answer is going to be that you can explicitly roll back the transaction,
    however only from the EJB application method, using the
    EJBContext.setRollbackOnly() method.
    Regards,
    Bruce
    Jon Mountjoy wrote:
    >
    Hi Bruce,
    I looked at the example you pointed to, and it does what it says it does.
    However, it doesn't attempt to rollback a transaction, which is what I am
    doing.
    The docs for reliable messaging say:
    " If you want to roll back the transaction from the Java method, use the
    Java Transaction API (JTA) to get the transaction object and then explicitly
    roll back the transaction. "
    They also indicate that the receiver executes in the context of a
    transaction, which you may rollback.
    For example, when the server is down, the transaction doesn't commit. This
    behaviour is tested by your example, and it works.
    However, when I modify your example to roll back the transaction in the web
    service operation backend implementation,
    then it doesn't. It yields the same exception that mine does.
    For example, I modified your MarketService.java as indicated below to grab
    the initial context and then during the operation grab the usertransaction
    and call setRollbackOnly(). This causes WebLogic to throw a
    weblogic.webservice.saf.StoreForwardException.
    Any ideas?
    Regards,
    Jon
    public final class MarketService {
    private static boolean mustThrow = true;
    InitialContext ctx = null;
    public MarketService() {
    try {
    ctx = new InitialContext();
    System.err.println("---InitialContext is set");
    } catch (Exception e) {
    System.err.println("---InitialContext is not set: " + e);
    public void placeOrder(OrderInfo o) {
    System.out.println("[MarketService] placing order: " + o);
    mustThrow = !mustThrow;
    if (mustThrow) {
    System.out.println("--S:Going to roll back");
    UserTransaction ut = null;
    try {
    ut = (UserTransaction) ctx.lookup(
    "javax.transaction.UserTransaction");
    System.out.println("--S: Set setRolbackOnly()");
    ut.setRollbackOnly();
    // <------------------------------------------
    } catch (Exception e) {
    System.err.println("--S: UT transaction error:" + e);
    } else {
    System.out.println("--S: -Not rolling back");
    --S:In reliable TX operation
    --S:Going to roll back
    --S: Set setRolbackOnly()
    --S: Finished Reliable operation
    <29-Aug-2003 15:48:24 o'clock BST> <Info> <WebService> <BEA-220025> <Handler
    weblogic.webservice.saf.SAFHandler threw an
    exception from its handleResponse method. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.>
    myserver:Info:Handler weblogic.webservice.saf.SAFHandler threw an exception
    from its handleResponse method. The exceptio
    n was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.
    <29-Aug-2003 15:48:25 o'clock BST> <Info> <WebService> <BEA-220047> <A
    exception was thrown from callReceive in the Clie
    nt Dispatcher.>
    myserver:Info:A exception was thrown from callReceive in the Client
    Dispatcher.
    <29-Aug-2003 15:48:25 o'clock BST> <Info> <WebService> <BEA-220034> <A stack
    trace associated with message 220047 follow
    s:
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing:
    weblogic.webservice.saf.StoreForwardException: Could
    not find MessageData header in aknowledgement. (see Fault Detail for
    stacktrace)
    at
    weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:285)
    at
    weblogic.webservice.core.ClientDispatcher.callReceive(ClientDispatcher.java:
    119)
    at
    weblogic.webservice.saf.ConversationAssembler.getResponse(ConversationAssemb
    ler.java:302)
    at
    weblogic.webservice.saf.ConversationAssembler.execute(ConversationAssembler.
    java:536)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    myserver:Info:A stack trace associated with message 220047 follows:

  • Weblogic webservice with DIME

    hi,
    I want weblogic webservice with DIME.
    I not know weblogic 8.1 webservice support DIME type.
    Please asked me this qustion and i'm not achivement this goal.
    Some hint, some reference document or some source file send to me.
    thank your advice.

    Hi Shon,
    A word of caution:
    DIME is not a widely-adopted encoding format for doing SwA (SOAP with Attachments).
    This fact is somewhat borne out by how Microsoft has positioned it as "one of
    the encoding formats" supported with their WS-Attachment note (or recommendation,
    or whatever).
    That said, you may be able to use a JAX-RPC Handler to create/process DIME attachments,
    with WLS and WLW web services. If not, the next best bet is to use a Servlet filter,
    in front of the Servlet that serves as the router for a WebLogic Web Service.
    Neither of these approaches is "simple", but they aren't "rocket science" either.
    You'll need to download the Java DIME Library from Onion Networks (http://onionnetworks.com/downloads/dime-1.0.3.zip),
    to do either of these.
    Regards,
    Mike Wooten
    shon <[email protected]> wrote:
    Hi Bruce Stephens.
    Thank your advice.
    I visited advice url, But i'm not understand that how to use Java Dime
    Libray v1.0.3. If you have some example source or some reference file,
    send to my e-mail address.
    Thank your advice

Maybe you are looking for

  • Mixing Memory Speeds

    Apologies, wrong thread, please ignore. Message was edited by: Rhys Bethell

  • Icons Issue with IDS Forms

    Have done the needful, jar file created and settings changed. The icons are shown in the menu tool bar but not on the forms buttons. This is puzzling me... anyone have any ideas on this one?

  • Invoke webservice from XI

    Dear XI Experts, I am doing a scenario where Client - XI - RFC(R/3 System.). Here Client provides me a wsdl file.  I import wsdl file in ED and create MT, MI, MM and IM. Web service should be invoked only once in a day. Now there are two ways to invo

  • Lms 4.x dfm alert oper/unresp.

    Hi, few of the interfaced in routers switches went down and the alarm was not displayed in lms 4.2.3 dfm activities pages.. my observation was that, there were unresponsive alarms generated, and according to my knowledge untill that interface becomes

  • Snow Leopard on MacBook 2008 to Lion OSX

    Hi, I have snow leopard on macbook 2008 and I would like to update my mac to lion osx. Currently I have found only mountain lion osx on apple store, not lion osx. Mountain Lion is not sipported for early 2008 MacBook (as my macbook is) and Lion osx s