BAM WS test using SOAPUI
Hi,
I'm trying to load contents to BAM via the BAM WS. I am using SOAP UI and used this service -
http://localhost:8888/OracleBAMWS/WebServices/DataObjectOperationsByName.
I used the payload below.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/bam">
<ns1:Insert>
<ns1:dataObject>/Samples/Employees</ns1:dataObject>
<ns1:xmlPayload><_Employees><_Salesperson>Vishal</_Salesperson><_Sales_Area>Northeast</_Sales_Area><_Sales_Number>5671</_Sales_Number></_Employees></ns1:xmlPayload>
</ns1:Insert>
</soap:Body>
</soap:Envelope>
I am getting this errors when I execute my SOAP UI request -
<faultstring>BAM-06147: invalid XML payload for DataObjectOperations Web service; nested exception is:
java.rmi.RemoteException: BAM-06147: invalid XML payload for DataObjectOperations Web service; nested exception is:
java.lang.RuntimeException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]</faultstring>
Any hints out there?
Regards,
Robert
You need to wrap the payload in CDATA
Something like this
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/bam">
<ns1:Insert>
<ns1:dataObject>/Samples/Employees</ns1:dataObject>
<ns1:xmlPayload><![CDATA[<_Employees><_Salesperson>Vishal</_Salesperson><_Sales_Area>Northeast</_Sales_Area><_Sales_Number>5671</_Sales_Number></_Employees>]]</ns1:xmlPayload>
</ns1:Insert>
</soap:Body>
</soap:Envelope>
cheers
James
Similar Messages
-
ACE load balancing and testing using soapUI
Hey, I am trying to crowd source a solution for this problem.
A client is testing using soapUI to an application that is being load balanced via ACE. There are two webservers behind the VIP servicing the client request. When client tests, requests are timing out per the soapUI log. A packet capture was taken and it clearly shows that ACE is not forwarding the HTTP data back to the client. When client tests by bypassing the ACE load balancer, it works fine. But, there are other clients from other applications that are making successful connection to the load balanced application via the VIP.
Question, is there any thing unique with making HTTP/XML based requests using soapUI? LB configuration is shown below:
class-map match-all EAI_PWS_9083
2 match virtual-address 10.5.68.29 tcp eq 9083
serverfarm host EAI_PWS_9083
description WebSphere Porduction
failaction purge
probe tcp9083
rserver ESSWSPAPP01 9083
inservice
rserver ESSWSPAPP02 9083
inservice
policy-map type loadbalance first-match L7_POLICY_EAI_PWS_9083
class class-default
serverfarm EAI_PWS_9083
policy-map multi-match L4SLBPOLICY
class EAI_PWS_9083
loadbalance vip inservice
loadbalance policy L7_POLICY_EAI_PWS_9083
loadbalance vip icmp-reply active
appl-parameter http advanced-options CASE_PARAM
parameter-map type http CASE_PARAM
case-insensitiveHi,
Your configuration looks fine. I am not familiar with soapUI but if it is like a normal TCP connection followed by HTTP requests, i don't see why this shouldn't work.
Do you know if there is a difference while using soapUI and normal request using browser?
Regards,
Kanwal -
Bam Webservice Testing in SoapUI
Hi,
i tried to do the batch, insert operation by using bam webservice Wsdl in soapUI but it is giving BAM-06147: invalid XML payload for DataObjectOperations Web service
Wsdl I am Using Is: http://localhost:9001/OracleBAMWS/WebServices/DataObjectOperationsByID
request payload in SoapUi
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bam="http://xmlns.oracle.com/bam">
<soapenv:Header/>
<soapenv:Body>
<bam:Insert>
<!--Optional:-->
<bam:dataObject>/Samples/Employees</bam:dataObject>
<!--Optional:-->
<bam:xmlPayload><_Employees>
<_Salesperson>Time Bray</_Salesperson>
<_Sales_Area>EMEA</_Sales_Area>
<_Sales_Number>12345</_Sales_Number>
</_Employees>
</bam:xmlPayload>
</bam:Insert>
</soapenv:Body>
</soapenv:Envelope>
can any one help me on solve this issue....
thanks in advance..Hi,
It's tricky because bam:xmlPayload is actually xsd:string typed and not xsd:any, so you need to use CDATA
<bam:xmlPayload>
<![CDATA[
<_Employees>
<_Salesperson>Time Bray</_Salesperson>
<_Sales_Area>EMEA</_Sales_Area>
<_Sales_Number>12345</_Sales_Number>
</_Employees>
</bam:xmlPayload>
Cheers,
Vlad -
Problem in testing a Web service using SOAPUI
Hi Experts,
I have developed a web service in our ECC 6.0 and download the WSDL file generated from SE80. When i downloaded the file, it saved as only XML file. As I dont have JAVA stack in the ECC 6.0, i was testing using SOAPUI. But when i try to upload the file, it always says "Found nothing to import <URL>".
Can anyone help me why it is giving this error? I still doubt there is some problem with the WSDL file which is generated for the service.
Please guide me how to check the WSDL file generated is correct or not?
Cheers,
MadhuThanks for the blog Salil.
What ever it is mentioned is already done in SOAMANAGER. Endpoints are available for the service.
Below is the Overview of the service:
Object Status: Services: 1 / Endpoints: 1
Porttype Namespace: urn:sap-com:document:sap:soap:functions:mc-style
Porttype Name: YMTEST_WS
Internal Name: YMTEST_WS
SOAP Applikation: URN:SAP-COM:SOAP:RUNTIME:APPLICATION:RFC:710
Package Name: $TMP
Ok, i have developed 2 web services. One web service in ECC 6.0, where Java stack not available so i provided CRM system Java stack address in the global setting and executed my ECC 6.0 web service which says "No endpoints are found for the Web service"
Following is the URL: http://tuasd06db.tuasw2k.tuaspower.com.sg:8000/sap/bc/srt/wsdl/sdef_YMTEST_WS/wsdl11/ws_policy/document?sap-client=220
The one web service which created in CRM 2007, i can test in the navigator, no problem with that.
Following is the URL:
http://tuasd06db.tuasw2k.tuaspower.com.sg:8002/sap/bc/srt/wsdl/bndg_DE7DA5BA0B3A93F1AF60001A64258BFC/wsdl11/allinone/standard/document?sap-client=220
You can find the URL difference btw the URL's. Do i need to publish the service in the service registry? I thought for testing it is not required.
Now all i have problem with the ECC 6.0 web service.
Cheers,
Madhu -
OSB: Issue while testing OSB proxy service using SOAPUI
Hi,
I am trying to test an OSB proxy service using SOAPUI.
The below are the steps i have followed in SOAPUI:
1. File->New SOAPUI project
2. Opens the dialog to create REST service
3. Given service endpoint as: http://<osb servername>:<port>
4. Opens dialog to create a REST resource
5. Resource Path/EndPoint is the OSB proxy service end point.
6. HTTP method = POST
The proxy service accepts 'text' input so i have given Media Type as 'text/plain'
But, when i give the request message and run the request. The request is not running. I am not seeing the processing symbol at the bottom right of the SOAP UI request. Whereas i am able to run other services.
Kindly help me resolve this issue.
Thanks,
Kalpana.your problem:
Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
Loader: oracle.bpel.common:10.1.3
Code-Source: /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar
Configuration: <code-source> in /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml
It happens when server is custom installed, try to reinstall it as full version and problem should disappear otherwise your need another full installation to retrieve and replace orabpel.jar file from (or maybe more) -
Security token testing with soapUI
Have anyone managed to test the tutorial:
[url http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1]Securing Services Using the ALSB with SoapUI ? We had a hard time calling the WS without BEA specific libraries, and ended up making our own policy without using policy:Sign.xml. Still we had to make our own testcode to make it work. Has anyone been able to use soapUI for this purpose? We see that the generatet soap message is very different from what we managed to find out using BEA libraries.Hi Jonny
Please generate the WSDL from either sender agreement for classical configuration or from ICO.
Then used the WSDL in SOAP UI, it will work. -
SAPPI 7.3 testing with SOAPUI
Hi
I have generated a WSDL from the SAP Integration builder for a service interface that will start a message flow.
I am using SOAPUI to test this but I get the error
com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values
Am I missing any parts of this URL that was proposed by the SAP Integration builder when it built me the WSDL
" http://ABSDSAPPI01.mycompany.co.uk:50100/XISOAPAdapter/MessageServlet?version=3.0&Sender.Service=BC_AB_TESTHARNESS_B1&In… "Hi Jonny
Please generate the WSDL from either sender agreement for classical configuration or from ICO.
Then used the WSDL in SOAP UI, it will work. -
Safari won't open pictures on imgur. To test used another browser and it showed them
Safari won't open pictures on imgur. To test used another browser and it showed them
Here is the page was trying to surf http://imgur.com/gallery/n9BjmFrom the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit. -
hardware test using an external optical device (iMac) on macbook pro 9 years old via firewire. What to do? and how to do it?
I thiunk the graphic card is defective and need to run hwtYou don't.
Need a internal optical drive and the Hardware Test on disks is old and outdated anyway.
Your machine has lasted a long time, congratulations, they usually only last about 4-5 years.
They get clogged up with dust and overheat, kills the video card, there is nothing you can do as it's hardware damage over time. -
Error when calling BizTalk ESB WCF service using SOAPUI tool
Hi,
I have an itinerary and when I call the ESB.ItineraryServices.Response.WCF service passing the message from .Net code I am able to successfully able to get a response. However when I use SOAPUI I am getting the error HTTP/1.1
400 Bad Request
==============Request message =====================
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:itin="http://schemas.microsoft.biztalk.practices.esb.com/itinerary" xmlns:mic="http://microsoft.practices.esb/">
<soap:Header>
<itin:ItineraryDescription>
<Name>Sample.Itinerary</Name>
<Version>1.0</Version>
</itin:ItineraryDescription>
</soap:Header>
<mic:part>
<ns0:Add xmlns:ns0="http://tempuri.org/">
<ns0:a>10</ns0:a>
<ns0:b>20</ns0:b>
</ns0:Add>
</mic:part>
</soap:Body>
</soap:Envelope>
==============================================
when I pass this message in SOAPUI, I get the error message
HTTP/1.1 400 Bad Request
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Date: Mon, 23 Feb 2015 14:57:53 GMT
Content-Length: 0
Has anybody tried calling ESB Web services like ESB.ItineraryServices.Response.WCF service from SOAPUI.
does anybody know how to fix it.
Thanks in advance
PLEASE HELP
VikramDear Vikram,
The xml you are sending is invalid it does not have SoapBody Opening tag.
Use this below xml and try
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:itin="http://schemas.microsoft.biztalk.practices.esb.com/itinerary" xmlns:mic="http://microsoft.practices.esb/">
<soap:Header>
<itin:ItineraryDescription>
<Name>Sample.Itinerary</Name>
<Version>1.0</Version>
</itin:ItineraryDescription>
</soap:Header>
<soap:Body>
<mic:part>
<ns0:Add xmlns:ns0="http://tempuri.org/">
<ns0:a>10</ns0:a>
<ns0:b>20</ns0:b>
</ns0:Add>
</mic:part>
</soap:Body>
</soap:Envelope>
Regards,
Mandar Dharmadhikari
Please mark as answer if this helps you to solve the issue. -
Functionality Testing Using B1 Test Composer Tool
Hi,
I would like to use B1 TC for functional testing of our add-ons. Will it be possible for me to do the functional testing(add-on's expected against add-on's actual) of the add-on using B1 TC? Could anyone explain with some examples so that I can start with B1 TC.
Our add-on has a window that allows the user to filter and display BPs in the matrix. User can select a Payment Term from the drop down and click Refresh button. Then the BPs with matching payment term should be listed in the matrix/gird. Here I want to check whether the BPs listed is correct. How can I use B1 Test Composer to do this?
Regards,
SamHi Johan,
Thanks for the response. Let me explain the scenario to be tested using B1 TC in detail. The Payment Term combo in our add-on's Payment Term Update Utility form will list the payment terms ZPNET30, NET30, -Cash Basic’ etc. On selecting one of these values (say NET30), the matrix in the form is expected to list only those BPs with matching payment term(NET30). Here I need to ensure that all the BPs listed here are having the same payment term as ‘NET30’.
While recording this action using B1 TC, let us assume that the BPs listed in the matrix are as in the below image.
But when I rerun the B1 TC script at some later time, the BPs list might vary because of addition of new BPs to the database or changing of payment term of the existing BPs. In this instance, the Compare Matrix function of B1 TC fails, as the expected matrix values are not the same when we re-run the script. But all the BPs listed will have the matching payment term(NET30). So B1 TC reports a bug even if the functioning of the add-on is correct.
When I manually do the testing, I apply the filter and then load each of the BP Master Data to check whether the payment term matches the selected one in the form. Then I will change and update the payment term of the existing BP or add new BPs and again performs the filtering to check whether the search result is correct. Is there a mechanism with B1 TC to handle such scenario, like accessing each individual rows/cells of the matrix/grid and check the payment term of the BPs listed?
Regards,
Sam -
KB16037 - Perform a test using the hardware diagnostic tool on the BlackBerry smartphone
KB16037 - Perform a test using the hardware diagnostic tool on the BlackBerry smartphone
Just noticed this; SWEET!
-----ProcedureTo perform a test using the hardware diagnostic tool on the BlackBerry smartphone, complete the following steps:
On the Home screen on the BlackBerry smartphone, click Options.
Select Status.
On the Status screen, type test.Note: On BlackBerry smartphones that support SureType® technology, use the multi-tap input method.
From the menu on the Device Self Test Application screen, select Start.
If you've found a solution through a post; please mark it as a solution.
If someone's was particularly helpful, give them kudo's!.
Get busy living, or get busy dying.
http://blog.port3101.org/hdawg/This is cool!
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Stress Test using em console in 11g results in lesser number of instances
Hi All,
We are doing Stress/Load testing using em console in SOA Suite 11g. The problem we are encountering is, em fails to create as many instances as it should. Under "Additional Test Options", we check the "Enable Stress Test" checkbox and give different values for following parameters:
Concurrent Threads 50
Loops per Thread 20
Delay in Milliseconds 1000
But instead of creating 1000 instances of this composite, em console create only 998 and fails to create 2 instances without giving any error in console logs or server logs.
Similarly, with below setting:
Concurrent Threads 50
Loops per Thread 40
Delay in Milliseconds 1000
Instead of creating 2000 instances it creates only 1991 and 9 instances fail without any error. Is this a known bug or we are missing something here? Any pointers will be helpful.
Thanks,
AkashIn case you have multiple instances running, whereas any instance has an unique value started as correlation, when the engine receives the messages for the intermediate receive operation it will be routed without problems to the right instance. In this case, it is not a problem if the engine creates a new composite instance for the intermediate messages.
We have this situation in Production without any problem.
Anyway should be simple to simulate the same situation in your development environment to make sure it works well in your scenario.
Regards
Luis Fernando Heckler -
I want to run automation test in multiple device say iphone and ipad or two iphone device Is it possible.I have done automation testing using UIAutomation and get it running from iphone device
plzzz reply to this question as soon as possible
-
Hi,
I am just wondering if running the hardware test using disc 1 will detect failure of one or both fans. Thank you for all response.
BobHi Michael,
Thank's for your reply. So if say one fan is dead and the other one is working fine, there will be an error message?
Bob
Maybe you are looking for
-
Get attribute name from VO returns null.
Hello, I'm using JDeveloper 11.1.1.3. I have an af:inputfile component in which i set a ValueChangeListener. I'm using the attribute "Filename" from the form view to set the name of the file before saving it to a directory. At first, i had a differen
-
Elements 13 crashes when selecting Print
Elements13 crashes when selecting Print from the File menu. Rebuilding the Preferences file will bring the Print menus back, but only temporarily. No error message, Windows advises the program must be shut down. Win 7, 16GB RAM, Elements 6 on the sam
-
Install Fails of Dreamweaver 8
We decommissioned an old file server a couple of weeks back. Dreamweaver keeps getting an error on installing as it wants to make contact with this server. I even login locally with full admin rights on XP pro and Dreamweaver still wants to connect t
-
No se que pasa que no puedo abrir mi id de app
hola quien me ayuda a abrir una cuenta
-
after the update, i have only computers and settings icon, Where are the others ? youtube etc.