Could soap return a xml to client?
Hi everyone:
I want to know whether soap could return client a xml document. I mean that I want to display a xml to client's Browser after client invoke a soap method. It is possible? But I don't want to create a xml in the server because it shouldn't have many xml file in the server created by client. If it can how to do using Stream?
thks
Any idea?
Similar Messages
-
Returning XML to client from web service
Hi,
I am new to developing web services using JAX_RPC. I am trying to return a xml document to the client from the web service.
My Server implementation is as follows:
Interface:
public interface OntoIF extends Remote
public DataHandler ontoCompare (String targetUrl,String sourceUrl ) throws RemoteException;
Implementaion:
public class OntoImpl implements OntoIF
public DataHandler ontoCompare (String targetUrl,String sourceUrl ) throws RemoteException
DataHandler dataHandler = new DataHandler( new StreamSource( new File ("status.xml")), "text/xml");
return dataHandler;
Client Implementation:
Stub stb = (Stub) (new OntoService_Impl().getOntoIFPort());
stb._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost:8080/onto-service/onto");
OntoIF onto = (OntoIF) stb;
DataHandler retDHandler = onto.ontoCompare(targetOntoUrl, sourceOntoUrl);
When I compile and run my client, it throws the following error -
java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
va:497)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294
at sstub.OntoIF_Stub.echoDataHandler(OntoIF_Stub.java:122)
at sstub.OntoClient.main(OntoClient.java:63)
Can you please let me know what I am doing wrong? I have no problems in sending a DataHandler but receiving the DataHandler from the web service throws errors.
Thanks!Hi I'm having the same problem. I try to set up a Web Service using JAX_RPC. My WS should invoke a native Method implemented in C++. Did you got a solution for this issue? My Error Message is as follows:
java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:497)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:489)
at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:122)
at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:86)
at $Proxy0.getHello(Unknown Source)
at com.neuhaus.test.ws.client.NativeInvokeClient.main(NativeInvokeClient.java:44)
Exception in thread "main"
greetings, JAN -
No result returned or XML returned contains error in test query
Hello,
I have a problem with Visual Composer 7.0. When I try to execute a test query it shows the following error:
'No result returned or XML returned in the result contains error'. What could it be?
Thanks,
BelenEither your query doesn't return results or you don't have the MSXML Parser installed on your client.
-
Hi, I created a webservice using weblogic8.1 sp3 workshop. On my desktop, I tested the webservice with a java client and it worked fine. When I deployed webservice application on UNIX production server, it deployed successfully and it displayed WSDL file too. But, when I run java client from desktop to access this webservice on UNIX server, it is throwing the following exception.
java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
Detail:
<detail>
null </detail>; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:31)
at SoapClient.main(SoapClient.java:17)
Caused by: javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
at weblogic.webservice.core.ClientDispather.receive(ClientDispatcher.java:313)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:26)
can somebody please help me. This is very critical for me.
Thanks in advance.Hi, I created a webservice using weblogic8.1 sp3 workshop. On my desktop, I tested the webservice with a java client and it worked fine. When I deployed webservice application on UNIX production server, it deployed successfully and it displayed WSDL file too. But, when I run java client from desktop to access this webservice on UNIX server, it is throwing the following exception.
java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
Detail:
<detail>
null </detail>; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:31)
at SoapClient.main(SoapClient.java:17)
Caused by: javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
at weblogic.webservice.core.ClientDispather.receive(ClientDispatcher.java:313)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:26)
can somebody please help me. This is very critical for me.
Thanks in advance. -
Send XML to client: message box
Hi,
In a BPM workflow I'm putting together, I need to open a message box for information
(title, message, OK button). In the documentation, I found that I should send
an XML document to a client that looks like this:
<message-box title="title" style="information" options="ok">
<actionid>"1013679664318"</actionid>
</message-box>
Which I did: I added a "Send XML to client" action in the "True" part of a decision
node with a message-box element and its attributes, and actionid as a nested element.
When I trigger the workflow, it goes through all the expected steps but the window
does not pop up at all. I could not find the reason why anywhere. So has anyone
experienced the same problem ? If yes, how did you solve it ?
Cheers,
YannHi Sudhar.
I don't think your workflow will execute the next node before you mark the current
node as done. Conseqently setting the done in the decision box isn't possible.
Giora
"Sudhar" <[email protected]> wrote:
>
After I do the Send XML to Client from the exeucte tab of an action...instead
of
marking the task as done on the call back actions...i try to mark the
same task
as done in the next task after a decision box....it doesnt seem to work?
any ideas? should you always mark a task as done on the same task? -
Hi,
I've made a scenario using XI 3.0. I use a file adapter with an inbound synchronous interface to send a xml file to XI. XI consumes a function from CRM using a RFC adapter and an outbound synchronous interface. I've setted "Best Effort" as quality of service too.
The xml file arrives correctly to CRM and CRM returns the BAPI result to XI correctly too. The problem is XI doesn't return the xml file which it should, that's to say, the xml file sent by XI isn't in the specified target directory (using an inbound synchronous interface and a XI adapter).
Could someone explain me what happens?
Thanks in advance,
Samantha.Hi Samantha,
bad news: File Adapter is always asynchronous, cant get any response. And if you use an interface to send data it is an outbound interface.
To realize your business logic you must use BPM like
file (outbound asynchronous) -> BP (abstract asynchronous)
BP (abstract synchronous) <-> CRM (inbound synchronous)
BP (abstract asynchronous) -> file (inbound asynchronous)
Regards,
Udo -
Jsp worklist in 7.02 - send xml to client
Does the worklist web application in 7.02 support messages with the "Send
XML To Client" action? There appears to be some JSP code related to
displaying message boxes or setting variables (message.jsp,
setvariables.jsp) but I don't see any reference to how it works in the
documentation. If anyone has gotten it to work, I would like to hear about
it.
If it's not supported, I would like to know if and when it will be
supported. If it is supported, I would also like to know where the
documentation is or when it will be documented. The current documentation
for Send XML to Client refers to the deprecated swing task list application.
Thanks, HalA co-worker of mine got the sendxmlclient to work with the worklist web
application. It works the same way it does for the swing tasklist
application, it just wasn't in the documentation that I could find. I must
have missed a step the first time I tried it. Anyway, it appears to work.
Maybe the query.jsp you mention that the docs refer to should actually be
the setvariables.jsp.
Hal
"Alex Thomas" <[email protected]> wrote in message
news:[email protected]..
My guess is that it's not quite there yet. As you say, message.jsp isthere
and the docs(http://e-docs.bea.com/wli/docs70/devclient/intro.htm#1052730)
refer to a query.jsp but it isn't in 7.02. We're currently using the
lightweight client sample for an equivalent mechanism but can't really
recommend this as it's deprecated and disappearing in 8.1
cheers
Alex
On Fri, 28 Mar 2003 18:22:12 -0500, "Hal Deadman" <[email protected]>
wrote:
Does the worklist web application in 7.02 support messages with the "Send
XML To Client" action? There appears to be some JSP code related to
displaying message boxes or setting variables (message.jsp,
setvariables.jsp) but I don't see any reference to how it works in the
documentation. If anyone has gotten it to work, I would like to hear
about
it.
If it's not supported, I would like to know if and when it will be
supported. If it is supported, I would also like to know where the
documentation is or when it will be documented. The current documentation
for Send XML to Client refers to the deprecated swing task listapplication.
>>
Thanks, Hal -
Worklist send-xml-to-client functionality
Hi there
Quick question on wli 8.1. I have made extensive use in the past of the
send xml to client business operation in WLI 7. Is there any sort of
equivalent/how would this be achieved. Does the new worklist actually
support this kind of functionality?
RegardsA co-worker of mine got the sendxmlclient to work with the worklist web
application. It works the same way it does for the swing tasklist
application, it just wasn't in the documentation that I could find. I must
have missed a step the first time I tried it. Anyway, it appears to work.
Maybe the query.jsp you mention that the docs refer to should actually be
the setvariables.jsp.
Hal
"Alex Thomas" <[email protected]> wrote in message
news:[email protected]..
My guess is that it's not quite there yet. As you say, message.jsp isthere
and the docs(http://e-docs.bea.com/wli/docs70/devclient/intro.htm#1052730)
refer to a query.jsp but it isn't in 7.02. We're currently using the
lightweight client sample for an equivalent mechanism but can't really
recommend this as it's deprecated and disappearing in 8.1
cheers
Alex
On Fri, 28 Mar 2003 18:22:12 -0500, "Hal Deadman" <[email protected]>
wrote:
Does the worklist web application in 7.02 support messages with the "Send
XML To Client" action? There appears to be some JSP code related to
displaying message boxes or setting variables (message.jsp,
setvariables.jsp) but I don't see any reference to how it works in the
documentation. If anyone has gotten it to work, I would like to hear
about
it.
If it's not supported, I would like to know if and when it will be
supported. If it is supported, I would also like to know where the
documentation is or when it will be documented. The current documentation
for Send XML to Client refers to the deprecated swing task listapplication.
>>
Thanks, Hal -
Reg:"No result returned or xml returned in the result contains an Error
Dear All,
After adding a query to VC storyboard and than trying to use the option define/test query for this query element, I am facing the below error on pressing the execute button.
"No result returned or xml returned in the result contains an error"
Query is working fine and giving the desired output in BW system.
How can i resolve my problem?
Regards,
Hemalatha J
Edited by: hema latha on Nov 19, 2009 3:21 PMHi Hemalatha,
this can have several reasons, usually there are variables in the query that aren't filled correctly in the "specify filter" box.
One thing you could do is to personalize all variables in the query and then try to fill one after another in the "specify filter" box.
If you don't get values after you have filled a specific one of them, then this one is passed incorrectly.
Best wishes
Markus -
Return as XML in NWDS Expression editor
Hello experts,
when I`m building mapping in swing application, I can set that target node will be returned as XML (return as XML checkbox in context menu).
I did not find that choice in expression editor in NWDS.
Can you please point me how to get same or at least similar functionality in NWDS?
Thank you
VBNobody challenged this before?
I cannot believe - it is really simple in java client in mapping, but I need it in BPM process creation.
I want to use that for simple logging using reporting activity. I want to send whole raw xml into one field of reporting activity, because it is problem with 0..unbounded elements mapping into reporting activity. -
How to develope a XML-RPC client with PL/SQL
Anyone know how to develop a XML-RPC client with PL/SQL?
I've oracle 8i.
Have you some example of code?
Thanks
PaoloSo, you actually want to create the physical directory using JAVA?
Then see:
http://www.oracle-base.com/articles/8i/shell-commands-from-plsql.php -
The LOV modal window could not return value to the base page
when practicing the "create1" task in tutorial, met an issue.
when create an employee, manageName is a messageLovInput and managerID is a messageTextInput.
The issue is the LOV modal window could not return value to the mangerName, but can return to managerID .
If I remove the data boud porperties of the managerName (the bc4j porperties of view name-EmpFullVO and view attribute-MgrName), the lov works fine.
What is the reason?James I would suggest to read the LOV topic in OAF developers' guide. Lov mappings are responsible for bringing pop up values to base page in LOV.
--Mukul -
Thread: Could not generate the XML in single thread mode
Hi all,
I have created a report using PLSQL Procedure method after submitting the request I am getting the following Error.Couldn't sort out why I am getting the error while running the report.
Error in "Multi threaded or single threaded execution block" of XXRX_REPORT_OUTPUT_PKG.insert_into_nested_table procedure
ERROR :ORA-20005: Could not generate the XML in single thread mode
XXRXERROR: XXRX_REPORT_OUTPUT_PKG.run_report SQLERROR: ORA-20005: ORA-20005: Could not generate the XML in single thread mode
Can someone help me out finding the issue
Thanks in AdvanceHi,
Please read SQL and PL/SQL FAQ
We cannot guess what is the error if you don't post any part of your code.
Additionally when you put some code or output please enclose it between two lines starting with {noformat}{noformat}
i.e.:
{noformat}{noformat}
SELECT ...
{noformat}{noformat}
Regards.
Al -
Hi: We are using weblogic81 sp3. Other developers in my office ran the same porgram and got no errors.
My startWebLogic.cmd are configured exactly same as theirs.
My startWebLogic classpath:
set CLASSPATH=%WL_HOME%\server\lib\ojdbc14.jar;%WL_HOME%\server\lib\CR122067_81sp3.jar;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%
I keep getting this webservice error.
SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: w
eblogic.xml.schema.binding.DeserializationException: mapping lookup failure. typ
e=['java:language_builtins.util']:ArrayList schema context=TypedSchemaContext{ja
vaType=[Ljava.lang.Object;} (see Fault Detail for stacktrace)
Detail:
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webse
rvice/fault/1.0.0">weblogic.xml.schema.binding.DeserializationException: mapping
lookup failure. type=['java:language_builtins.util']:ArrayList schema context=T
ypedSchemaContext{javaType=[Ljava.lang.Object;}
at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeU
tils.java:461)
thank you for your helpwe used castor to do xml mapping
-
How to test SOAP request using XML SPY
Hi,
1. I am new to WebServices concept, I have downloaded the wsdl file and now I need to test the SOAP requests using XML Spy. However, when I try to test the SOAP request generated by XML Spy I receive an error "Internal Error: Session is not available. Aborting" , How do I go ahead to generate the session, Is there a way I can provide the Username and password in the XML Spy to generate something like session.
2. The second problem that I am facing is when I import the WSDL in XML Spy and generate the SOAP request, for all the fields xml tags gets populated with "aaaaaaaaaaaa" kind of data through out. Am i doing something wrong ? Is there some step while creating a SOAP request that I am missing becasue of which the gibbrish data is being populated as default ?
Please Help !
Thanks .I got my SOAP Requests tested using SOAP UI .. However I am still looking for ways to test it using XML SPY.
In the SOAP UI Tool just do right click and select Add WS Security Token ..
Thanks :)
Maybe you are looking for
-
[Solved] help needed with wireless setup (ralink 2860 driver)
Hi, I'm new to Arch so please be gentle ;-) I recently upgraded hoping to find improved support for my wireless. I now find that the kernel recognises and loads the appropriate module: [root@akoya ~]# uname -a Linux akoya 2.6.29-ARCH #1 SMP PREEMPT
-
Can you organize your "links" panel by FILE TYPE ?
Can you organize your "links" panel by FILE TYPE ? Or can you somehow export to somewhere and accomplish this?
-
Can't see all photos in photo stream
Only a few photos are downloading from photostream to apple tv
-
JPDA - I want to System.out the linenumber of my written Java Code.
If the subject is not clear (Wich it isnt i am sure) I try to refrase it. I want to run an little debugger wich all it does is: --have a next button, so you can skip to the next instruction. --gives me the linenumber of the code the current instructi
-
AEBS Loose IP on WAN side (dhcp)
Hi' I Have an airport extreme base station, after I upgraded to 7.5.2 my WAN IP loses within a week or so, the wan side, uses dhcp when I checks the wan ip, the address is a 169.254.x.x address, if I release/renew the interface, it still gets the 169