Is it possible to test Web Service operation from Browser
Hi,
I'm new with Web Logic and Web Service.
Weblogic version: 10.3.5
SOAP Web Service with RPC/Literal message format
Created a Web Service and deployed that onto Web Logic.
Also managed to get the WSDL page. However, when i tried to invoke one of the method from a web browser, it gives me a 404 Error. Not found.
WSDL URL
http://localhost:7778/self_service-self_service-context-root/self_servicePort?WSDL
Method:
<WL5G3N0:operation name="trivialProc">
<WL5G3N3:operation soapAction="http://package/Self_service.wsdl/trivialProc"/>
<WL5G3N0:input>
<WL5G3N3:body use="literal" parts="String_1 Integer_2 String_3" namespace="http://package/Self_service.wsdl"/>
</WL5G3N0:input>
<WL5G3N0:output>
<WL5G3N3:body use="literal" namespace="http://package/Self_service.wsdl"/>
</WL5G3N0:output>
</WL5G3N0:operation>
Is it possible to test Web Service method through browser?
I used Web Service on OC4J previously, and I was able to test the method directly from a web browser.
Thanks
Regards,
Andi
you can test web service using testclient option in weblogic
for more information please check below link
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/TestAWebService.html
http://docs.oracle.com/cd/E13224_01/wlw/docs100/guide/webservices/WSTutorial/tutWebSvcStep4.html
Regards,
Sunil P
Similar Messages
-
Getting error While testing Web Service deployed Glassfish using Net beans.
Hi,
I created a web service in netbeans. I deployed it on glassfish server too.
My web service contains one method which return type is Document. Here is my web service class code.
@WebService(serviceName = "DocumentTest")
@Stateless()
public class DocumentTest {
* This is a sample web service operation
@WebMethod(operationName = "hello")
public String hello(@WebParam(name = "name") String txt) {
return "Hello " + txt + " !";
@WebMethod
public Document getDocument(){
Document doc = null;
return doc;
}After Deployment when I m testing the web service I am getting follwoing error on Browser
Error generating artifacts for the following WSDL http://localhost:8093/DocumentTest/DocumentTest?WSDL
Possible causes can be invoking https when the application is not configured for securityI am just testing whether I can send Document object or not.
Regards,
Ajay Sharma
Edited by: Ajay Sharma on Nov 27, 2012 12:37 PM
Edited by: Ajay Sharma on Nov 29, 2012 2:16 PMAjay Sharma wrote:
I am just testing whether I can send Document object or not.An XML document? Wouldn't that be a really ridiculous web service? -
Error while executing Test Web Service
Hi,
I get an error while trying to test the web service deployed on Weblogic 10.3.1 through jdeveloper 11.1.1.1.0.
This simple web service is created by following the example in http://www.oracle.com/technology/products/jdev/11/cuecards111/j2ee_set_16/ccset16_ALL.html
After deploying the web service, the Test Web service Event in the Enterpise manager results in error. The error is as follows : -
The selected operation processRating could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException
+ java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:570) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run+…………………………..
Has anyone encountered this error ?
Thanks.HI,
RFc is not called becuase:
1. we tried RFC debuggin with proper user. it never stopped at break point.
2. TCODE: sxmb_moni in PI did not show any entry for incoming messages.
The import bindings are proper. We tried using .execute(1) , nothing happened.
We are able execute freely avaliable Web service but not the one exposed from PI.
Hence we feel their is problem between PDF and PI itself.
The user we put in the pop up is SERVICE USER. The PI consultant uses the same user and is able to execute but from PDF we are not able to execute.
We also tried with a DIALOG USER with same roles and authhorizations as the SERVICE USER. BUt still it did not execute.
Thanks and Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Nov 16, 2009 1:00 PM -
Web service operation ... with parameters {} cannot be found
Hi All,
I am accessing a web service of a web site using ColdFusion.Each time I am calling the web service I am getting the message "Web service operation ... with parameters {} cannot be found".The wsdl file showing the parameter as complex type .So I have passed value to the particular method using structure and xml type each time I gets that error message.I can not post here the wsdl for security reason.
When I am calling this Web service from .net it is working without any problem. .NET directly creating the objects of the parameter which the method is needed from the wsdl but I don't know whether it is possible in ColdFusion or not.Also I don't know whether the web service in .net or in other language.
Please suggest something.
Thanks
UpenThanks for your response.
Yes, I have passed all the arguments but it seems the web application is coded in .net and by googling I came to know that if the .net receives a complex type of object then it creates problem when we pass argument from coldfusion.(means type mismatch)
If you know about it please suggest . -
When I try to test an axis based web service, I receive the error listed below. I have no problem calling this same web service method from a .Net application. The method being called is findAllAsArray.
I have included the wsdl after the error.
InvocationTargetException com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:459) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031) java.lang.Thread.run(Thread.java:595) null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031) java.lang.Thread.run(Thread.java:595) Runtime exception; nested exception is: unexpected element name: expected=findAllAsArrayReturn, actual={http://biz.com}findAllAsArrayReturn com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300) webservice.vendormanagerservice.VendorManager_Stub.findAllAsArray(VendorManager_Stub.java:127) webservice.vendormanagerservice.vendormanagerservice.VendorManagerServiceClient.findAllAsArray(VendorManagerServiceClient.java:57) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031) java.lang.Thread.run(Thread.java:595) unexpected element name: expected=findAllAsArrayReturn, actual={http://biz.com}findAllAsArrayReturn webservice.vendormanagerservice.VendorManager_findAllAsArray_ResponseStruct2_SOAPSerializer.doDeserialize(VendorManager_findAllAsArray_ResponseStruct2_SOAPSerializer.java:55) com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:192) com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:155) webservice.vendormanagerservice.VendorManager_Stub._deserialize_findAllAsArray(VendorManager_Stub.java:373) webservice.vendormanagerservice.VendorManager_Stub._readFirstBodyElement(VendorManager_Stub.java:338) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:215) webservice.vendormanagerservice.VendorManager_Stub.findAllAsArray(VendorManager_Stub.java:127) webservice.vendormanagerservice.vendormanagerservice.VendorManagerServiceClient.findAllAsArray(VendorManagerServiceClient.java:57) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031) java.lang.Thread.run(Thread.java:595)
wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/posample-ws/services/EmployeeManagerService" xmlns:intf="http://localhost:8080/posample-ws/services/EmployeeManagerService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:EmployeeManager" xmlns:tns2="http://biz.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><schema targetNamespace="urn:EmployeeManager" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="EmployeeInfo"><sequence><element name="canApprove" nillable="true" type="xsd:boolean"/><element name="employeeID" nillable="true" type="xsd:int"/><element name="employeeName" nillable="true" type="xsd:string"/><element name="phoneNumber" nillable="true" type="xsd:string"/><element name="primaryKey" nillable="true" type="xsd:int"/></sequence></complexType></schema><schema targetNamespace="http://biz.com" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="InsufficientData"><sequence><element name="firstCause" nillable="true" type="xsd:anyType"/></sequence></complexType></schema><schema targetNamespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="ArrayOf_tns1_EmployeeInfo"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:EmployeeInfo[]"/></restriction></complexContent></complexType></schema></wsdl:types>
<wsdl:message name="createResponse">
<wsdl:part name="createReturn" type="tns1:EmployeeInfo"/>
</wsdl:message>
<wsdl:message name="findAllApproversAsArrayRequest">
</wsdl:message>
<wsdl:message name="removeResponse">
</wsdl:message>
<wsdl:message name="findAllAsArrayResponse">
<wsdl:part name="findAllAsArrayReturn" type="impl:ArrayOf_tns1_EmployeeInfo"/>
</wsdl:message>
<wsdl:message name="findByPrimaryKeyResponse">
<wsdl:part name="findByPrimaryKeyReturn" type="tns1:EmployeeInfo"/>
</wsdl:message>
<wsdl:message name="updateRequest">
<wsdl:part name="in0" type="tns1:EmployeeInfo"/>
</wsdl:message>
<wsdl:message name="createRequest">
<wsdl:part name="in0" type="tns1:EmployeeInfo"/>
</wsdl:message>
<wsdl:message name="findByPrimaryKeyRequest">
<wsdl:part name="in0" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="InsufficientData">
<wsdl:part name="fault" type="tns2:InsufficientData"/>
</wsdl:message>
<wsdl:message name="removeRequest">
<wsdl:part name="in0" type="tns1:EmployeeInfo"/>
</wsdl:message>
<wsdl:message name="updateResponse">
<wsdl:part name="updateReturn" type="tns1:EmployeeInfo"/>
</wsdl:message>
<wsdl:message name="findAllAsArrayRequest">
</wsdl:message>
<wsdl:message name="findAllApproversAsArrayResponse">
<wsdl:part name="findAllApproversAsArrayReturn" type="impl:ArrayOf_tns1_EmployeeInfo"/>
</wsdl:message>
<wsdl:portType name="EmployeeManager">
<wsdl:operation name="remove" parameterOrder="in0">
<wsdl:input message="impl:removeRequest" name="removeRequest"/>
<wsdl:output message="impl:removeResponse" name="removeResponse"/>
<wsdl:fault message="impl:InsufficientData" name="InsufficientData"/>
</wsdl:operation>
<wsdl:operation name="create" parameterOrder="in0">
<wsdl:input message="impl:createRequest" name="createRequest"/>
<wsdl:output message="impl:createResponse" name="createResponse"/>
<wsdl:fault message="impl:InsufficientData" name="InsufficientData"/>
</wsdl:operation>
<wsdl:operation name="update" parameterOrder="in0">
<wsdl:input message="impl:updateRequest" name="updateRequest"/>
<wsdl:output message="impl:updateResponse" name="updateResponse"/>
<wsdl:fault message="impl:InsufficientData" name="InsufficientData"/>
</wsdl:operation>
<wsdl:operation name="findByPrimaryKey" parameterOrder="in0">
<wsdl:input message="impl:findByPrimaryKeyRequest" name="findByPrimaryKeyRequest"/>
<wsdl:output message="impl:findByPrimaryKeyResponse" name="findByPrimaryKeyResponse"/>
<wsdl:fault message="impl:InsufficientData" name="InsufficientData"/>
</wsdl:operation>
<wsdl:operation name="findAllAsArray">
<wsdl:input message="impl:findAllAsArrayRequest" name="findAllAsArrayRequest"/>
<wsdl:output message="impl:findAllAsArrayResponse" name="findAllAsArrayResponse"/>
</wsdl:operation>
<wsdl:operation name="findAllApproversAsArray">
<wsdl:input message="impl:findAllApproversAsArrayRequest" name="findAllApproversAsArrayRequest"/>
<wsdl:output message="impl:findAllApproversAsArrayResponse" name="findAllApproversAsArrayResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="EmployeeManagerServiceSoapBinding" type="impl:EmployeeManager">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="remove">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="removeRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://biz.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="removeResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="InsufficientData">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="create">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="createRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://biz.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="createResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="InsufficientData">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="update">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="updateRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://biz.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="updateResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="InsufficientData">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="findByPrimaryKey">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="findByPrimaryKeyRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://biz.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="findByPrimaryKeyResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="InsufficientData">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="findAllAsArray">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="findAllAsArrayRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://biz.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="findAllAsArrayResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="findAllApproversAsArray">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="findAllApproversAsArrayRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://biz.com" use="encoded"/>
</wsdl:input>
<wsdl:output name="findAllApproversAsArrayResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/posample-ws/services/EmployeeManagerService" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="EmployeeManagerService">
<wsdl:port binding="impl:EmployeeManagerServiceSoapBinding" name="EmployeeManagerService">
<wsdlsoap:address location="http://localhost:8080/posample-ws/services/EmployeeManagerService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Message was edited by:
ChrisZAlso be aware that Java Studio Creator only supports WS-I compliant web services. Java Studio Creator works in most cases but if you have a WSDL that Creator can't consume, you can use NetBeans 5.0 to create a client then use the client in Creator. Please see this blog http://blogs.sun.com/roller/page/david/20060511 for more information.
Hope this helps, Thanks
K -
Hi,
Is it possible to get list of operations from an wsdl file through Web service client? with out using wsdl2java tool?
Thanks.Hello Bala,
I have tried using many WSDL files. Even the WSDL file stated in the blog by Kai /people/community.user/blog/2006/10/27/create-new-argo-object-with-the-argo-web-service-wizard could not show the service methods for me.
I also tried this wsdl file as well.
http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl
And offcourse, my intension is to try Amazon or ebay webservices and get the search results which I still could not get any service methods displayed
Thanking you.
Regards,
Ajay. -
Why JDEVADF11.1.1.3 can not test web service in IE for Integrated WebLogic
Hi,
Testing a web service deployed to Integrated WebLogic Server.
1.When you deploy the web service to Integrated WebLogic Server, examine the contents of the log window. Find http://IP_address:port/Project1-context-root/MyWebService1
2.Copy the URL and paste it into browser. The browser shows a simple page which lists the operations available on the service.
3.Enter a parameter, and click Enter. The result from the web service is displayed.
My question:
Why only display Web Services Endpoint and Information . Can not have Enter a parameter and operations available on the service.
HttP analyzer test web service is OK.
ThanksHi,
That is because you are looking at the endpoint information.
If you want to test the service in a browser, then you can use the Weblogic Test Client.
When your Integrated WLS is running, point the browser to the following url: http://localhost:7101/wls_utc/
Thanks,
Vishal -
Error on page when trying to test web service in EM
Hi,
I've developed a couple of web services in JDeveloper and tested them through Enterprise Manager. But the latest service won't work as expected. When I press "Test Web Service" for this particular port I get the message "Error on page" and
"Line: 94
Char: 1
Error: Object expected
Code: 0"
For the other web services the possible input parameters are shown as an HTML form and you can also choose to use an XML source. But this won't work in this case. No input parameters are shown and you can't choose XML source.
My question is of course the reason for this behaviour. And secondly; are the possible input parameters retrieved from the xsd file or from somewhere else? Could there be an error in it causing the problem? I'd be happy to provide some code, although right now I'm not sure which code snippet is appropriate.
Thanks in advance!
KerstinUpdate:
Now I see that there are in fact two error messages. The second one is the one presented above. But the first one says:
Line: 145
Char: 97
Error: Expected ';'
Code: 0
My question now is to what file it is referring?? Is it to ProjectAccountingPort.js that is automatically created? THen why is it not properly created??
Please, please help me with this! The deadline is in a few days... -
Web Service Operation Timeout - How can this be done?
Good day.
We are running OC4J 10.1.3.3 in a standalone container. We are deploying stateless Web Services. I am wondering if there is a way for us to specify a timeout at the operation level from all clients? Right now, we are observing that some requests just never seem to timeout. For example, the web service operation is calling a 3rd party component that might take a while to complete, but we don't want to have our clients wait.
I realize that we can just have the client timeout, however, it does not affect the application server as the request seems to keep on going. I have had some requests being as old as 28 days. Is this handled by the global thread pool? I know we can do min / max etc, but what about a timeout of an active thread?
So, I am curious if anyone has tackled this before? I know we can code this into the request, however, this seems like something the container / service should be able to handle via a configuration.
Any insights / suggestions would be great. Is this a possibility?
Thanks,
BradWSeveral ways to do this (I don't work enough in Motion to advise there), but in FCP...one way would be...
V1 - background visual
V2 - Rectangle Shape (from Shapes Generator/bottom right of viewer)
V3 - Primary keyed image (car in the video clip)
V4 - Same as V2 (only tweak the Rectangle settings)
V5 - Same as V3 (duplicated shot of car)
V6/V7 - V8/V9 repeat as needed for different layers...
Apply 'Composite Mode - Travel Matte/Luma) to each of the 'car' video layers.
Then offset each pair of car/rectangle layers as you wish to see them over time.
This approach will not give you drop shadow abilities. There are ways to make that happen, along with different approaches to the effect itself.
Play around...it's one of the best ways to learn FCP capabilites for editing/compositing.
K -
Is it possible to call web service from ABAP SAP 4.6 c..If yes how
Hi Friends,
Is it possible to call web service from ABAP-SAP 4.6 c..If yes Could you please let me know how.
Thanks in Advance.
Murali Krishna K
Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:09 PM
Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:11 PMOlivier CHRETIEN wrote:>
> Hi Terry,
>
> So these function modules must use the SAPHTTPA RFC destination which uses the exe saphttp.exe ?
>
> How much abap code lines do you have for a web service call ?
> Do you have to code the call specifically for each different web service ?
> Are you able to use the WSDL ?
>
> Nice job if you have coded your own private SOAP runtime !
>
> But I don't think this is an easy solution for everybody...
>
> Regards,
>
> Olivier
Yes, SAPHTTPA (runs on application server) and/or SAPHTTP (runs on front-end pc), one of which, is required for HTTP communication. So far, nothing too elaborate as far as SOAP goes, but the logic is simplistic. Here's some sample code:
DEST = 'SAPHTTPA'.
TRANSLATE HOST TO LOWER CASE.
MYURL = 'wssrvTest/Service.asmx/GetByOrderItem'.
CONCATENATE HOST MYURL INTO MYURL.
REQUEST_HEADERS-DATA =
'Content-type: application/x-www-form-urlencoded'.
APPEND REQUEST_HEADERS.
CLEAR REQUEST_HEADERS.
*........Convert Order Number to External Format........................
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = ORDER
IMPORTING
OUTPUT = ORDER.
*........Convert Item Number to External Format.........................
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = ITEM
IMPORTING
OUTPUT = ITEM.
*........Convert Material Number to External Format.....................
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = MATERIAL
IMPORTING
OUTPUT = MATERIAL.
CONCATENATE 'sOrder=' ORDER
INTO REQUEST_BODY-DATA.
APPEND REQUEST_BODY.
CLEAR REQUEST_BODY.
CONCATENATE '&sItem=' ITEM
INTO REQUEST_BODY-DATA.
APPEND REQUEST_BODY.
CLEAR REQUEST_BODY.
CONCATENATE '&sMaterial=' MATERIAL
INTO REQUEST_BODY-DATA.
APPEND REQUEST_BODY.
CLEAR REQUEST_BODY.
CALL FUNCTION 'HTTP_POST'
EXPORTING
ABSOLUTE_URI = MYURL
RFC_DESTINATION = DEST
BLANKSTOCRLF = 'X'
TABLES
RESPONSE_ENTITY_BODY = RESPONSE_BODY
REQUEST_ENTITY_BODY = REQUEST_BODY
RESPONSE_HEADERS = RESPONSE_HEADERS
REQUEST_HEADERS = REQUEST_HEADERS
EXCEPTIONS
CONNECT_FAILED = 1
TIMEOUT = 2
INTERNAL_ERROR = 3
TCPIP_ERROR = 4
DATA_ERROR = 5
SYSTEM_FAILURE = 6
COMMUNICATION_FAILURE = 7
OTHERS = 8.
CHECK SY-SUBRC = 0. "more appropriate msg goes here
LOOP AT RESPONSE_BODY.
IF RESPONSE_BODY+0(7) <> '<string' AND
RESPONSE_BODY+0(8) <> '</string' AND
RESPONSE_BODY+0(5) <> '<?xml'.
SPLIT RESPONSE_BODY-DATA AT '=' INTO FIELD_NAME FIELD_VALUE.
TRANSLATE FIELD_NAME TO UPPER CASE.
CASE FIELD_NAME.
WHEN 'HEIGHT'.
HEIGHT = FIELD_VALUE.
WHEN 'WIDTH'.
WIDTH = FIELD_VALUE.
WHEN 'LENGTH'.
LENGTH = FIELD_VALUE.
WHEN 'WEIGHT'.
WEIGHT = FIELD_VALUE.
WHEN 'QTY'.
QTY = FIELD_VALUE.
ENDCASE.
ENDIF.
ENDLOOP.
Hope this helps...
Terry
Edited by: Terry West on Feb 4, 2008 3:08 PM -
Is it possible to create WEB SERVICE in SAP 4.7
Hi guys,
is it possible to create WEB SERVICE in SAP 4.7 ?
i want to make a FM as web service enabled.
plz advice.
Regards
pabiHi,
The definitive (and in my experience only) documentation on this is at;
http://help.sap.com/saphelp_47x200/helpdata/en/94/f8c8a2e68811d6b2dc00508b5d5211/frameset.htm
This same information is available combinded as a single pdf, but I can't find this.
Regards,
Nick -
Error in ejbCreate using a Test Web Service
Hi,
I'm new to the Bea and j2ee worlds and I'm following the steps of "Getting Started: Enterprise JavaBeans" in "Tutorials".
I've done "Step 4: Test the EJBs" but during the test (with a Test Web Service) these exceptions raised:
Exception in hello
javax.transaction.TransactionRolledbackException: Error in ejbCreate:: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
; nested exception is:
javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
Caused by: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
... 46 more
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:897)
at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:256)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:359)
at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at hello.HelloBean.ejbCreate(HelloBean.java:27)
at hello.Hello_oztp1s_Impl.ejbCreate(Hello_oztp1s_Impl.java:135)
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:324)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:110)
at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:140)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:137)
at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:69)
at hello.Hello_oztp1s_EOImpl.hello(Hello_oztp1s_EOImpl.java:29)
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:324)
at com.bea.wlw.runtime.core.control.EJBControlImpl.invoke(EJBControlImpl.jcs:665)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
at helloControl.helloBeanCtrl.hello(helloBeanCtrl.ctrl)
at helloControl.helloBeanCtrlTest.hello(helloBeanCtrlTest.jws:22)
Everything has gone well until Step 3. I've done everything tutorial has said (ejb-local-ref, etc..) but it doesn't work.
Probably it's a stupid error, but I don't know where I have to look for.
Thank you and sorry, but I've never seen Bea Workshop!
mHi
You can use a java web service to publish a Web service from a Java class.
A wizard creates the WSDL document and deployment files needed to publish your code as a Web service. After you select the class and methods you want to publish, the wizard generates deployment descriptors, a JAX-RPC mapping file, and a WSDL document that can be deployed to an application server.
You can refer : \bpel\samples\tutorials\102.InvokingProcesses\ws sample to invoke a WS using JAX-RPC Call.
Hope that helps!
Cheers
A -
Web service operation could not be found.
Would CF give this error if there was simply an error in the
cffunction code? The service is there and it looks fine. In fact,
most of the code comes from another cffunction in the same file,
but with more arguments and some additional code. I have cleared
the server cache several times.
It's driving me nuts. The error codes sometimes just don't
make any sense or are misleading. I hope future versions of CF deal
with this better.
Web service operation "RegisterFiles" with parameters
{groupID={185},folder={/},filename={MOV04684.MPG},userName={xxxx},userPassword={xxxx},fil eType={video}}
could not be found.NealCrankshaw, in your case you definitaly need to use java
in order to create and use complex data types arguments with your
web service. Here are the steps to follow in nutshell
1. Use wsdl2java tool (CF_HOME/runtime/bin) tsupplying URL to
webservice WSDL to create java code.
2. Create java classes by compiling java code created in step
1
3. Create jar file(s) from classes in step 2
4. Put jar file in CF classpath or just copy it to
CF_HOME/lib directory
5. Using <cfscript> create required objects, arrays and
other arguments and supply them to web service method call. -
Is it possible to call web services in adobe connect application?
I have facing one security issue in adobe connect
Error Description is "Security error accessing url
Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://xxxxxx/WebService.asmx?wsdl)"
Is it possible to call web services in adobe connect application?
Thanks and regards
SelvanOK, so it's a plain Flex security issue, not related to the Connect application, probably due to crossdomain misconfiguration.
Please read http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html and http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
You may want to ask for help in the proper Flex forum. Also, download Tour de Flex and look at the example under "Flex Data Access3 -> "WebService".
Try also to look at this thread http://forums.adobe.com/thread/223999 -
It it possible to call web service from SAP 4.6 c..If yes how
Hi Friends,
It it possible to call web service from SAP 4.6 c..If yes how
Thanks in Advance.
Murali Krishna KIt is not possible to directly call a web service from SAP 4.6c.
Indeed, web service enablement is available as from Web AS 6.20, thus as from SAP R/3 4.7
So as described above, the solution is indeed to make use of PI(XI) for this.
Rgds,
Karim
Maybe you are looking for
-
How do I enter multiple email addresses for a Firefox Sync account?
How do I enter my multiple email addresses for one Firefox Sync account?
-
How do I find where my debit or credit card is stored
I would like to choose a different method of payment for purchases in I Tunes. Where is the information stored ? Cannot seem to find a profile on my I.pad Hutchinson17
-
Hi there, I'm working on SCSM forms customization and I'd like to reproduce the behavior of the priority field : change the value of a textbox based on the value of two other textboxes. At the moment I successfully implemented a custom user control a
-
Modification of Array contents
I have a data array of 22 columns and typically 4000 rows. The data in the array is generated by a towed body and occasionally has corrupt rows of data. There can be several isolated groups of corrupt data. The corrupt data is easily detected as a
-
I installed the new google maps app and I am unable to make it work because it says, cannot reach server. I have a iphone 4 with 6.0.1 up to date. Please advise where I can locate to check if my location is turned on.