Invoking Business Service method which takes Hierarchy / Integration Object
Hi,
I want to invoke Business Service methods using JDB API invokeMethod(). There are some methods which take Hierachy/Integration object as argument. The question here is how do I creat and pass these arguments?
Following two are the methods which take these arguments.
1)[Hierarchy]
Business Service:
SHM Calculate Tax
Method:
SumCalculateTax
Args:
CalculateTax - Hierarchy - Input
ForWhich - String- Input
GetSubTaxCodes - Number- Output
GetTaxCodes - Number- Output
2)[Integration Object]
Business Service:
External Contact
Method : Update
Args :
SiebelMessage - Integration Object - Input / Output
Can you direct me to some sample code please?
Thanks,
ram
Thank you both for the response. Regarding Rennays posting I have an additional question. When I create a new web service I don't have the "Document Literal" option nor a "Concrete Configuration" tab. I've created the web service using the "Web Application" project type and then adding a web service using the "Web Service..." wizard. This wizard doesn't have the configuration properties you mention, but if I add a WSDL-file to a BPEL-project the wizard has the properties you mention.
Is it possible to create a web service, programmed as an ordinary Java-class, from an existing WSDL-file? In that case it may solve the problem with the Document Literal property. Currently I dont know any other way to create such a web-service other than the through the web service wizard in a web application project. Of course, its possible to craft it from scratch but thats to much work to be practical.
Regards, Ola
Similar Messages
-
Problem calling a method which takes a parameter from a table
Hi guys,
I'm very new to jsf and hope you can help me out.
On my page i'm generating a list, which is working fine. now i want to add some commandLinks to the list entries. on click, i want to execute a bean method, which takes a parameter from the list, generates a picture and displays it on my page.
here's a piece of code thats already working:
<rich:dataTable var="data" value="#{pathwayBean.orgList}">
<rich:columnGroup>
<rich:column>
<h:outputText value="#{data.name}" />
</rich:column>
</rich:columnGroup>
</rich:dataTable>now, i want to replace the outputText with a commandLink, and execute a method with {data.id} as parameter. Unfortunately, the commandLink property "action" can only call bean methods with no parameter, or is that wrong?
Thanks in advance,
Alexuse actionlistener.
here a typical code that works fine for me:
(JSF 1.2)
//Java
private Integer selectedItemId=null;
public void selectItem(ActionEvent event) {
// Find the UIParameter component by expression
UIParameter component = (UIParameter) event.getComponent().findComponent("itemId");
// parse the value of the UIParameter component
try {
selectedItemId = Integer.parseInt(component.getValue().toString());
// find itemBean here using selectedItemId
} catch (Exception e) {
logger.error(e, e);
logger.info(" +++ selectedItemId =" + selectedItemId);
public String viewItem() {
//create view beans here
return "itemView";//return appropriate view.
//JSF
<h:column>
<h:commandLink id="View"
action="#{itemListBean.viewItem}"
actionListener="#{itemListBean.selectItem}">
<h:outputText value="select"/>
<f:param id="itemId" name="itemId" value="#{itemBean.id}"/>
</h:commandLink>
</h:column> -
Could not invoke the service() method when the JSP page is loaded
I am new to servlets/jsp so excuse if I am doing something silly here:
I have a JSP page the suppose to be loading a session attrbute from a simple servlet. When I go to load the jsp page, I get Could not invoke the service() method.
Any help is much appreciated:
Here is my JSP:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page session="true" import="insurance.PolicyObj,java.util.*"%>
<% Vector VTable = (Vector) session.getAttribute("policyTable"); %>
<HTML>
<BODY>
<Form name=listTable action="InsSer" method="post">
<TABLE border="1">
<TBODY>
<TR>
<TD width="258" align="center"><B>Policy Id</B></TD>
<TD width="187" align="center"><B>Customer Name</B></TD>
<TD width="160" align="center"><B>Agent Name</B></TD>
<TD width="134" align="center"><B>Status</B></TD>
</TR>
<TR>
<%
for (int index=0; index < VTable.size();index++) {
PolicyObj TableL = (PolicyObj) VTable.elementAt(index);
%>
<TR bgcolor="#99CCFF">
<TD width="258" align="center"> <%= TableL.getPolicyId()%> </TD>
<TD width="187" align="center"> <%= TableL.getCustomerName()%> </TD>
<TD width="187" align="center"> <%= TableL.getAgentName() %> </TD>
<TD width="187" align="center"> <%= TableL.getPolicyStatus() %></TD>
</TR>
<% } %>
</TBODY>
</TABLE>
<P><INPUT type="submit" name="Submit" value="Refresh Active Policies"></P>
</BODY>
</HTML>
Here is my servlet:
package insurance;
import java.io.IOException;
import java.util.Vector;
import javax.servlet.RequestDispatcher;
import javax.servlet.Servlet;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
public class InsSer extends HttpServlet implements Servlet {
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#HttpServlet()
public InsSer() {
super();
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest arg0, HttpServletResponse resp)
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
doPost(req,resp);
// TODO Auto-generated method stub
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest arg0, HttpServletResponse resp)
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
//PolicyObj[] policyTable = new PolicyObj[3];
HttpSession session = req.getSession(false);
//if (session == null) {
//resp.sendRedirect("http://localhost:9080/Insurance/error.html");
//Vector buylist = (Vector) session.getAttribute("PolicyList");
Vector policyList = null;
policyList.addElement(new PolicyObj());
((PolicyObj) policyList.get(0)).setPolicyId("0009800002");
((PolicyObj) policyList.get(0)).setCustomerName("Salim Zeitouni");
((PolicyObj) policyList.get(0)).setAgentName("Jack Smith");
((PolicyObj) policyList.get(0)).setPolicyStatus("Pending");
session.setAttribute("policyTable",policyList);
ServletContext sc = getServletContext();
RequestDispatcher rd = sc.getRequestDispatcher("InsSev1.jsp");
rd.forward(req,resp);
Message was edited by:
sfz1
Message was edited by:
sfz1I am new to servlets/jsp so excuse if I am doing something silly here:
I have a JSP page the suppose to be loading a session attrbute from a simple servlet. When I go to load the jsp page, I get Could not invoke the service() method.
Any help is much appreciated:
Here is my JSP:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page session="true" import="insurance.PolicyObj,java.util.*"%>
<% Vector VTable = (Vector) session.getAttribute("policyTable"); %>
<HTML>
<BODY>
<Form name=listTable action="InsSer" method="post">
<TABLE border="1">
<TBODY>
<TR>
<TD width="258" align="center"><B>Policy Id</B></TD>
<TD width="187" align="center"><B>Customer Name</B></TD>
<TD width="160" align="center"><B>Agent Name</B></TD>
<TD width="134" align="center"><B>Status</B></TD>
</TR>
<TR>
<%
for (int index=0; index < VTable.size();index++) {
PolicyObj TableL = (PolicyObj) VTable.elementAt(index);
%>
<TR bgcolor="#99CCFF">
<TD width="258" align="center"> <%= TableL.getPolicyId()%> </TD>
<TD width="187" align="center"> <%= TableL.getCustomerName()%> </TD>
<TD width="187" align="center"> <%= TableL.getAgentName() %> </TD>
<TD width="187" align="center"> <%= TableL.getPolicyStatus() %></TD>
</TR>
<% } %>
</TBODY>
</TABLE>
<P><INPUT type="submit" name="Submit" value="Refresh Active Policies"></P>
</BODY>
</HTML>
Here is my servlet:
package insurance;
import java.io.IOException;
import java.util.Vector;
import javax.servlet.RequestDispatcher;
import javax.servlet.Servlet;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
public class InsSer extends HttpServlet implements Servlet {
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#HttpServlet()
public InsSer() {
super();
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest arg0, HttpServletResponse resp)
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
doPost(req,resp);
// TODO Auto-generated method stub
/* (non-Java-doc)
* @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest arg0, HttpServletResponse resp)
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
//PolicyObj[] policyTable = new PolicyObj[3];
HttpSession session = req.getSession(false);
//if (session == null) {
//resp.sendRedirect("http://localhost:9080/Insurance/error.html");
//Vector buylist = (Vector) session.getAttribute("PolicyList");
Vector policyList = null;
policyList.addElement(new PolicyObj());
((PolicyObj) policyList.get(0)).setPolicyId("0009800002");
((PolicyObj) policyList.get(0)).setCustomerName("Salim Zeitouni");
((PolicyObj) policyList.get(0)).setAgentName("Jack Smith");
((PolicyObj) policyList.get(0)).setPolicyStatus("Pending");
session.setAttribute("policyTable",policyList);
ServletContext sc = getServletContext();
RequestDispatcher rd = sc.getRequestDispatcher("InsSev1.jsp");
rd.forward(req,resp);
Message was edited by:
sfz1
Message was edited by:
sfz1 -
Strange about invoking web service method declared string method(void);
Dear forum readers
Im experimenting with OpenESB and web services. Ive create a simple web service using NetBeans 6.1. The method consists of a single method, getTime, that is declared:
String getTime()
My current experiment is to invoke this method from a BPEL-process using the Invoke process object. The strange thing is that it seems like I have to provide a dummy inbound variable from the BPEL-designer even though the method doesnt take any parameters. I include a snippet from the BPEL process below which includes the section where I set the dummy GetTimeIn-variable and then invokes the WS method getTime().
<assign name="Assign2">
<copy>
<from>'DummyValue'</from>
<to variable="GetTimeIn" part="parameters"/>
</copy>
</assign>
<invoke name="Invoke1" partnerLink="PartnerLink1" operation="getTime" xmlns:tns="http://ws/" portType="tns:MyWebService" outputVariable="GetTimeOut" inputVariable="GetTimeIn"/>
If I dont initiate the dummy variable or remove it altogether, I cant successfully call the method. If I include the dummy in-parameter the call works just fine and I get back the current time as a string.
I must admit that Im still a rookie to web services, especially when calling them from a BPEL-process, so it may be a very trivial reason for this behaviour. Anyway, any help on this matter would be greatly appreciated.
Regards, OlaThank you both for the response. Regarding Rennays posting I have an additional question. When I create a new web service I don't have the "Document Literal" option nor a "Concrete Configuration" tab. I've created the web service using the "Web Application" project type and then adding a web service using the "Web Service..." wizard. This wizard doesn't have the configuration properties you mention, but if I add a WSDL-file to a BPEL-project the wizard has the properties you mention.
Is it possible to create a web service, programmed as an ordinary Java-class, from an existing WSDL-file? In that case it may solve the problem with the Document Literal property. Currently I dont know any other way to create such a web-service other than the through the web service wizard in a web application project. Of course, its possible to craft it from scratch but thats to much work to be practical.
Regards, Ola -
How to invoke AM service method
Hi, my requirement is:
I need to submit my form to webservices. I have created a method in AM, which takes number as a input parameter and retruns one string. I exposed this method as a service interface. now i need to pass the input parameter from ADF page. And when i click on submit i need to get the string as a response. How i need to integrate this service method to the ADF page?.
Please help me, It's urgenthi,
thanks for your reply.
my requirement is i need to invoke a web service. i have created proxy methods for my wsdl but i didn't understand how i need to pass my input parameter to that classes and how i need to get my response.
can any one help. -
Java.lang.NoSuchMethodError while invoking web service method
Hi, I have a web service which has two methods exposed as
A and B.
I deployed it on weblogic server (7.0 SP4) and fired teh request when I got this error:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring/>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.NoSuchMethodError
I tried deploying the web service on another instance and there the method A was invoked but I got the same error when I tried invoking B.
I tried it on third instance and there both the methods were successfully invoked.
The methods A and B name start with capital letter (someone told me that method name should not start with capital letter but that does not hold good here)
Any idea why this starnge behavior of web service?Hi Guys,
I have solved the above issue by applying the PATCH 1 & PATCH 2 of the
BPEL 10.1.2 version .
Thanks
Kalyan -
SCSM 2012 - all business services reporting - which cube can I report from
I want to report on all business services, does anyone know which cube i can report on business services from? any other advise relating to this appreciated.
Hello,
Same question here, have you find a response to your question ?
I'm very interested...
Regards. -
Health Service in which the location monitoring object is contained is not available
Hello,
When i am trying to discover new machines I am getting this error:
Health Service 'OPMGRRMS1.xxx.xxx.xxx.xxx' in which the location monitoring object is contained is not available
All services have been restarted successfully without error... on the RMS Server.
- System Center Data Access
- System Center Management
- System Center Management Configuration
- System Event Notification Service
but still having the error...
Date: 10/27/2009 10:14:00 AM
Application: System Center Operations Manager 2007 R2
Application Version: 6.1.7221.0
Severity: Error
Message:
Microsoft.EnterpriseManagement.Common.LocationMonitoringObjectNotAvailableException: Health Service 'OPMGRRMS1.ad.medctr.ucla.edu' in which the location monitoring object is contained is not available. Make sure that the computer hosting the Health Service is available and verify that the Health Service is running.
at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleSubmitTaskIndigoExceptions(Exception ex)
at Microsoft.EnterpriseManagement.DataAbstractionLayer.AdministrationOperations.LaunchDiscovery(Guid batchId, List`1 jobDefinitions)
at Microsoft.EnterpriseManagement.Administration.ManagementServer.BeginExecuteWindowsDiscovery(IList`1 discoveryConfigurations, AsyncCallback callback, Object state)
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Administration.DiscoveryProgress.<>c__DisplayClass7.<SubmitTask>b__3(Object , ConsoleJobEventArgs )
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
DW works (Datawarehouse) I restarted the System Center Management successfully
MS works (2nd Management Server) I restarted the System Center Management successfully
ACS works (Audit Control Server) cannot access the reporting server but I restarted the System Center Management successfully
RMS DB 48 % Free
DW DB 18% Free
ACS DB 13% Free
I can ping the RMS Server what other test could I do?
I removed the new items:
Delete the six modules of Windows Failover Clustering Management Pack (SCOM Console > Administration > Management Packs > Right Click delete on it)
Uninstall System Center Operations Manager 2007 R2 Authoring Resource Kit (Add/Remove Programs)
Uninstall System Center Operations Manager 2007 R2 Authoring Console (Add/Remove Programs)
Reboot the RMS Server
SAME ERROR!!!
Any idea
Thanks,
Dom
Altiris Support / System Center Configuration Manager SupportHi Marius,
In the Operations Manager Log I have some errors:
Log Name: Operations Manager
Source: HealthService
Date: 10/28/2009 10:15:06 PM
Event ID: 4506
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: OPMGRRMS1.ad.medctr.ucla.edu
Description:
Data was dropped due to too much outstanding data in rule "Microsoft.SQLServer.2008.LoginsPerSecCollection" running for instance "MSSQLSERVER" with id:"{24345584-0FD5-0FAB-2293-D4C82BEDB086}" in management group "SCOM-MED".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="HealthService" />
<EventID Qualifiers="49152">4506</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-10-29T05:15:06.000Z" />
<EventRecordID>4126486</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>OPMGRRMS1.ad.medctr.ucla.edu</Computer>
<Security />
</System>
<EventData>
<Data>SCOM-MED</Data>
<Data>Microsoft.SQLServer.2008.LoginsPerSecCollection</Data>
<Data>MSSQLSERVER</Data>
<Data>{24345584-0FD5-0FAB-2293-D4C82BEDB086}</Data>
</EventData>
</Event>
Log Name: Operations Manager
Source: HealthService
Date: 10/28/2009 10:15:50 PM
Event ID: 1107
Task Category: Health Service
Level: Error
Keywords: Classic
User: N/A
Computer: OPMGRRMS1.ad.medctr.ucla.edu
Description:
Account for RunAs profile in workflow "Microsoft.SystemCenter.DataWarehouse.CollectEntityHealthStateChange", running for instance "OPMGRRMS1.ad.medctr.ucla.edu" with id:"{DF927679-EAC0-B8EC-F8CC-F0031A36AD4F}" is not defined. Workflow will not be loaded. Please associate an account with the profile. Management group "SCOM-MED"
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="HealthService" />
<EventID Qualifiers="49152">1107</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-10-29T05:15:50.000Z" />
<EventRecordID>4126487</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>OPMGRRMS1.ad.medctr.ucla.edu</Computer>
<Security />
</System>
<EventData>
<Data>SCOM-MED</Data>
<Data>{DF927679-EAC0-B8EC-F8CC-F0031A36AD4F}</Data>
<Data>OPMGRRMS1.ad.medctr.ucla.edu</Data>
<Data>Microsoft.SystemCenter.DataWarehouse.CollectEntityHealthStateChange</Data>
</EventData>
</Event>
Log Name: Operations Manager
Source: HealthService
Date: 10/28/2009 10:15:50 PM
Event ID: 1107
Task Category: Health Service
Level: Error
Keywords: Classic
User: N/A
Computer: OPMGRRMS1.ad.medctr.ucla.edu
Description:
Account for RunAs profile in workflow "Microsoft.SystemCenter.DataWarehouse.CollectEventData", running for instance "OPMGRRMS1.ad.medctr.ucla.edu" with id:"{DF927679-EAC0-B8EC-F8CC-F0031A36AD4F}" is not defined. Workflow will not be loaded. Please associate an account with the profile. Management group "SCOM-MED"
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="HealthService" />
<EventID Qualifiers="49152">1107</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-10-29T05:15:50.000Z" />
<EventRecordID>4126488</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>OPMGRRMS1.ad.medctr.ucla.edu</Computer>
<Security />
</System>
<EventData>
<Data>SCOM-MED</Data>
<Data>{DF927679-EAC0-B8EC-F8CC-F0031A36AD4F}</Data>
<Data>OPMGRRMS1.ad.medctr.ucla.edu</Data>
<Data>Microsoft.SystemCenter.DataWarehouse.CollectEventData</Data>
</EventData>
</Event>
Log Name: Operations Manager
Source: HealthService
Date: 10/28/2009 10:15:50 PM
Event ID: 1107
Task Category: Health Service
Level: Error
Keywords: Classic
User: N/A
Computer: OPMGRRMS1.ad.medctr.ucla.edu
Description:
Account for RunAs profile in workflow "Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData", running for instance "OPMGRRMS1.ad.medctr.ucla.edu" with id:"{DF927679-EAC0-B8EC-F8CC-F0031A36AD4F}" is not defined. Workflow will not be loaded. Please associate an account with the profile. Management group "SCOM-MED"
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="HealthService" />
<EventID Qualifiers="49152">1107</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-10-29T05:15:50.000Z" />
<EventRecordID>4126489</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>OPMGRRMS1.ad.medctr.ucla.edu</Computer>
<Security />
</System>
<EventData>
<Data>SCOM-MED</Data>
<Data>{DF927679-EAC0-B8EC-F8CC-F0031A36AD4F}</Data>
<Data>OPMGRRMS1.ad.medctr.ucla.edu</Data>
<Data>Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData</Data>
</EventData>
</Event>
these errors are recurrent...
the RMS is doing yoyo between Green as healthy and grayed out under Monitoring > Windows Computers or Administration > Device Management > Management Servers (2-3 minutes green then grayed out) there is no event in the Windows Event Log as System Center Management service remains running...
This MP for the Data Warehouse Internal Library has been removed and restored two weeks agao with Premier Support as the RMS was already fleaky and doing gray-green...
I have tried again but I will need to check again as it seems these errors are pointing to the Data Warehouse Library and not only the Data Warehouse Internal Library Management Pack. The main problem with this is that the Data Warehouse Library is [b]94[/b] Management Packs which depends on this Data Warehouse Library in our environment so if I need to remove this one it is almost a complete reinstallation of 50% of our MPs :(
Heartbeat failures: The Heartbeat State view ( Health Service Watcher (Agent) - All) is giving me 10 Critical and 1 Warning
[b]Any way to delete All MPs and restore them at once?[/b]
I have an issue trying deleting "Notifications Internal Library":
The User does not have sufficient permissions to perform the operation"
I am using my own account which is supposed to have all accesses.
I tried the hotfix 938510 but it does not seem to apply to SCOM R2
Thanks
Dom
Altiris Support / System Center Configuration Manager Support -
Problem invoking web service method
This looks like an issue with workshop. Please
consider posting this in the workshop newsgroup:
weblogic.developer.interest.workshop
regards,
-manoj
"Davin Czukoski" <[email protected]> wrote in message
news:[email protected]...
>
I have a web service that compiles and I get to the debug page, but when
invoking a method I get the following:
WebService ERROR
Error:
EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule Clientcallback
port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] Start server side stack trace:
java.rmi.RemoteException: EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule Clientcallback
port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] weblogic.jws.control.SchedulerException: Unable to
schedule Client callback port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source) at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)at
>>
>
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262) at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source) at
weblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)at
weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66) at
weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457) at
weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412) at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086) at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134) End serverside
stack trace ; nested exception is:weblogic.jws.control.SchedulerException:
Unable to schedule Client callback port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] Start server side stack trace:
weblogic.jws.control.SchedulerException: Unable to schedule Clientcallback
port: http://TESTUI Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ] at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source) at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)at
>>
>
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262) at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source) at
weblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)at
weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66) at
weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457) at
weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412) at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086) at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134) End serverside
stack trace
Stack Trace:
java.rmi.RemoteException: EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
Start server side stack trace:
java.rmi.RemoteException: EJB Exception: ; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source)
atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source)
atweblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)
at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66)
at weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace
; nested exception is:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
Start server side stack trace:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source)
atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source)
atweblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)
at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66)
at weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unable
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
Start server side stack trace:
weblogic.jws.control.SchedulerException: Unable to schedule
Client callback port: http://TESTUI
Service:
Service[http://198.112.234.30:8001/cms/Controller.jws(1049384133212)][Unab
le
to resolve 'cms.Controller.queue.input' Resolved: 'cms.Controller'
Unresolved:'queue' ]
at
weblogic.knex.bean.InvokeScheduler.scheduleRequest(InvokeScheduler.java:176)
at
weblogic.knex.bean.RemoteDispatcherBean.invoke(RemoteDispatcherBean.java:100
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl.invoke(RemoteDispatche
rBean_1wntgk_EOImpl.java:100)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLSkel.invoke(Unknown
Source)
atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at
weblogic.knex.bean.RemoteDispatcherBean_1wntgk_EOImpl_WLStub.invoke(Unknown
Source)
atweblogic.knex.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:120)
at weblogic.knex.dispatcher.Dispatcher.dispatch(Dispatcher.java:66)
at weblogic.knex.dispatcher.HttpServer.exploreExec(HttpServer.java:457)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5412)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace
<> -
Invoking a service method Issue
Hi,
When I call an operation from by consuming a WSDL in SOAP UI I am getting result. When I am using same operation by passing same parameters to the service in AppmoduleImpl it is returning null.
I heard that when regenerating proxy in 11.1.2.1.0(Jdeveloper) some files might be missing. So I regenerated them in 11.1.5(JDeveloper) and deployed project to JAR. I am currently using 11.1.2.1.0 and added JAR to Model project that was created in 11.1.5. Still my issue was not resolved. Can someone help me on this issue.Hi,
When I call an operation from by consuming a WSDL in SOAP UI I am getting result. When I am using same operation by passing same parameters to the service in AppmoduleImpl it is returning null.
I heard that when regenerating proxy in 11.1.2.1.0(Jdeveloper) some files might be missing. So I regenerated them in 11.1.5(JDeveloper) and deployed project to JAR. I am currently using 11.1.2.1.0 and added JAR to Model project that was created in 11.1.5. Still my issue was not resolved. Can someone help me on this issue. -
How do I deal with a Java method which returns a class object?
Hi, I am using JNI to talk to some Java code from c++;
I have a java method in class B that is defined as
class B{
A[] As;
A getA(int i){
return As(i);
where A is one of my classes.
I would like to know the code to deal with a returned object of type A and then how to access the variables in A from c++.
I have defined my method pointer as :
env->GetMethodID(B, "getA", "(I)A;");and have the jclass object of type A.
Would I do something like jclass A_CLASS = env->FindClass("A");
jobject A_OBJECT = (A_CLASS)env->CallObjectMethod(B,getA, i) ; If so, how do I then access the fields in A_OBJECT? Please let me know, thanks.ilganeli wrote:
Thanks but this doesn't really help. I know how this is done in Java (see below).Presumably you also understand how that code will fail. At least based on what you have posted here.
I do not understand the syntax to do the equivalent thing in JNI, specifically, how to cast the returned object from the CallObjectMethod function to be of the appropriate type, namely A, and then how to access those fields. You don't cast it. Didn't do so in your java code either.
But you define how you are going to attempt to access any object in JNI. If you mess up it fails. -
Json PUT method business service invoke via OSB
Hi,
I have to invoke business service that takes input as json object. I have followed following steps to create the project.
1. I have setup business service with "Messaging Service", and selected TEXT as request and response.
2. Created proxy service that is using wsdl.
3. In message flow, I have added service call out and setup bodyRequest as Request Variable in payload document.
4. I have added transport header to setup header as required.
5. $bodyRequest is setup by json lib utility(java callout), which gets xml as input and return json object as string.
6. When business service get invoked, Following payload is passed:
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
{"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}
</soapenv:Body>
whereas it should be only json request i.e.
{"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}
When I see the trace I get "{"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}" in $bodyRequest, but when it is passed to business Service, it gets embedded in <soapenv:Body></soapenv:Body>
Kindly can anyone help me in this regard.yes, but I get response as no json body was found. This is response if i give input with soapBody, but if i only give json object i.e. {"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}} , outside OSB i.e. using some json tool, it works fine.
-
Business Systems and Business Service - does any difference
Hi Experts,
Could any one please guide me what is the difference between
Business Systems
and
Business Service.
Which situations we use Business Systems / Business Service.
Does it have any performance issues?
Why we are not configuring Business service in SLD?
Cheers Experts!!
SunilHi Sunil,
Business System: Address a particular business system as the sender or receiver of messages.
A business system is an actual application system in a system landscape. A business system
(service) comprises information about the inbound and outbound interfaces and the software
component versions of the business system. The business system services are used when
configuring internal company processes.
Business Systems are Logical Senders or Receivers that exchange messages by using the Integration
Server and that are entered in the System Landscape Directory.
The Business Systems in the System Landscape Directory relate to a system landscape.
The Business Systems of business partners are therefore not entered in the System Landscape
Directory. To be able to address such business partners logically, use communication components in
the Integration Directory. A business system is a way of specifying a communication component in the
Integration Directory more precisely (business system component).
Business Service: Address an abstract business entity as the sender or receiver of messages.
Using a business service, you can define the technical or business subunits of the companies
involved and then assign them the relevant interfaces. The business services are used when
configuring cross-company processes.
In the PCK, the Service is of type Business Service. It represents an abstract, addressable unit.
Business services are used in cross-company processes, for example, if the parties involved have only
published their interfaces and not their system landscape, or it is only partly known.
Using a Business Service,we can define the technical or business subunits of the companies involved
and then assign them the relevant interfaces.
It is useful to use Business Services when configuring cross-company processes. Usually, the
interface descriptions of the business partners involved are made publicly available.
Also,There is already lot of thread regarding the same discussion, please see it below.
Business service or Business system??
Re: Business Service <--> Business System
Difference between Business service, Business system and Business process
Business Service vs Business System in Integration Directory.
Business Service (vs) Business System in Integration Directory.
What is the difference between Business System and Business Service?
business system and business service
Diff b/w Business service & Business System?
Regards,
Vinod. -
How to access/invoke Web Service from BPM Process
The following steps required to attach and invoke web service method from process:
1) Add a module in the catalog for ex WebServiceMO
2) Add WebService Catalog component demoWebService in WebServiceMO
3) Put ur WSDL address in WSDL address field like "http://localhost:8080/test/test?wsdl"
4) Click next to introspect the web service it will import required files and setting from the url to your project
5) Now for invoking webservice just call the method for ex.
@return as String[]
getTestStringList(TestInterfaceService, out @return : @return)
logMessage "web service calll result >>"+length(@return)+">>>"+@return[0]
Here @ return is the return from webservice call.
this way u can access web service from BPM process.
Edited by: Anurag Yadav on Jul 17, 2009 2:19 PMI have a web service which does not return any value but when I introspect the web service, I have an out parameter to it.. Not sure why?
For e.g.
TestServiceListener.addTestNotes(TestNotes : testNotes, out TestNoteResponse : testNoteResponse);
So here I see an out parameter, but my web-service has no out parameter...
Any idea why is this happening? -
Error while invoking web services from Proxy services in OSB
I have a Proxy Service of message type in Oracel Service Bus 10gR3 and it passes the incoming messages from a JMS Queue to Business Service of Web Services type. This Web Service is hosted in Glass Fish v3 and it's binding style is RPC. The JRE used in both the servers are 1.6.0_20. The JMS message is of Text type. The Web Services at the Glass Fish throws MessageCreationException for any content of the JMS message. However, it works fine if Business Service's test client is invoked from the OSB'S Admin Console. However, the same will not work if Proxy Service's test client is called.
The detailed exception stack is given below :
Thanks for the help.
- Raj
com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:318)
at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:92)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:501)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:116)
at org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
at org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:196)
at org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:195)
at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:139)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:329)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:267)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:95)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:110)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:100)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:175)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:303)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:354)Let me explain what I am trying to achieve. Our application receives data from multiple sources - from mainframe using FTP, JMS Queue and BPM application using Web Services. The data from all these sources are sending to a Web Service running in GlassFish V3. To handle this I have created three Proxy Services and one Business Service on OSB. The Business Service is of type Web Service using the same WSDL from the target Web Service.
The Proxy Services are configured as follows:
Proxy 1 (type - Messaging service) listens to the JMS Queue and receives JMS Text Message -> Business Service(B1) (Web Service).
Proxy 2 (type - Messaging service Polls files from the FTP Server -> Business Service(B1) (Web Service).
Proxy 3 (type - Web service) is invoked by the BPM application and sends a String -> Business Service(B1) (Web Service).
All the Proxies route to the same Business Service - B1 which calls the Web Service in GlassFish. The only Proxy that works fine is Proxy 3 which is created using the same WSDL of the Web Service. In the other two proxies it thows the same exception in GlassFish as I mentioned before.
com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
Is this configuration correct to achieve my requirements?
Once again thanks for the help.
- Raj
Maybe you are looking for
-
We upgraded, the rman catalog due to the following error: PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.01 in RCVCAT database is not current PL/SQL package RMAN.DBMS_RCVMAN version 11.02.00.01 in RCVCAT database is not current RMAN-00571: ========
-
Add, edit & update email text in sales orders
Hi everyone, how to add email text in output history tab of Sales Orders work center? There is already a default text in it. I need to change it. Can anybody help...
-
Can FCP Black and Code HDV tapes?
(Reposted from the FCP Express forum) I'm running FCP Studio 5.0.4. I'm trying to stripe some HDV tapes for an upcoming shoot. I've set up a project using the 1080i60 Easy Setup. I have my Sony FX-1 set to HDV record mode and HDV input. When I go to
-
Encryption of folder object in J2ME
hello, is there an API that i can use to encrypt/decrypt the folder object (not the files inside the folder) using J2ME (currently using bouncycastle)?
-
Premiere pro has stopped working and must close
Premier pro has been installed through CC and will not launch. 'has stopped working and must close' drivers up to date have signed in and out of CC have uninstalled and re-installed all premiere pro content including cache have changed the compatibil