Invoking web services documented on OER via ODIStudio
Hi
using 11.1.1.6 version of odi studio and trying to call a secured webservice. I am getting access denied error in doing so.
I thought to try the same using soapUI and got the same error. So, I switched the authentication type to 'Preemptive' in soapUI and had the same username, pwd and it worked.
Not sure what should be changed in odiStudio to be able to invoke the same webservice. Please advise
Hello Both,
Thank you.
I ran following command from SQL Plus window after connecting to DB..
SQL> @[%NLS_LANG%]
SP2-0310: unable to open file "[AMERICAN_AMERICA.WE8MSWIN1252]"And also I have checked actual data using DUMP function, it looks like data stored is wrong.
I have updated one field in SAP such that it only contains German character ä. When I query corresponding data from Oracle I got following output..
SELECT xmlresponse.Notes,
dump(xmlresponse.Notes,1010) dump_text
FROM webservice_log,
Xmltable(Xmlnamespaces
('http://www.w3.org/2003/05/soap-envelope' AS "env",
'http://sap.com/xi/CRM/Global2' AS "nm",
'urn:sap.com:proxy:DCT:/1SAI/TAS57DF0B317943DEAE3C49:702' AS "prx"
'/env:Envelope/env:Body/nm:CustomerCRMByIDResponse/BusinessPartner'
PASSING xml_response
columns
NOTES VARCHAR2(4000) PATH 'TextCollection/Text/TextContent/Text'
) XMLRESPONSE;
/* Output */
NOTES -- DUMP_TEXT
ä Typ=1 Len=4 CharacterSet=AL32UTF8: 195,131,194,164But decimal notation for German character ä is different!
SELECT DUMP('ä',1010) dump_text from dual;
/*Output*/
DUMP_TEXT
Typ=96 Len=2 CharacterSet=AL32UTF8: 195,164Regards,
Hari
Similar Messages
-
Send a map of documents via Invoke Web Service
Hi,
I have one process with map of documents and 2nd process on other server, where input variable is map od documents too. How can I send this map between these processes via "Invoke Web Service" component? Simple datatypes I can.
PetrTake a look at Quick Start: Assembling a PDF document using the web service API
It shows how to create an input map for multiple documents.
But it sounds like you're asking how to create a WSDL that allows you to use an input map as an argument in a Web Service invocation. If so, take a look at the Assembler services WSDL. For 8.2, access
http://myServer:myPort/soap/services/AssemblerService?wsdl -
Weblogic invoking web service failed due to socket timeout
Hi,
I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
I have checked several parameters by WebLogic admin console and changed those values, but I still receive same errors.
Regards,
Fujio SoneharaHey Eason,
As I had previously mentioned, I have checked the FE server certs and have mentioned the signing algorithm it used to sign the certs, which was sha1DSA and not sha1RSA, I even checked my CA list of issued certs and have found all certs are signed the same.
Signature algorithm: sha1DSA
Signature Hash Algorithm: sha1
Public Key: RSA (1024 bit)
I could run request and reinstall all day long it will still get the same certs signed with the algo..
Doing some research I attempted to see if I could change the signing cert for a specific cert template that was being used to issue the Lync FE certs... however seems that from according to
this, that I'd have to completely rebuild my CA before I'd be able to request and issue a cert with the proper signing algorithm?!
This
says its possible but not supported, what do I do in this situation? Is my only option to rebuild teh entire CA and cert infrastructure?
I noticed my CSP is set to Microsoft Base DSS Cryptographic Provider, and under the CSP folder there is no "CNGHashAlgorithm" key so I'm using a "Next Gen CSP" apparently? Is this CSP good enough to support Lync...Straight up where is
the Lync documentation on the CA setup requirements??
This google link doesn't tell you how you should setup a CA for Lync, what settings need to set etc.. -
How can I invoke web service in BPM Object's method?
In ALBPM 5.7,AJaX can code by Call BPM Object's method.So I want to invoke web service via AJaX by BPM method.
My sample code is:
1: HelloWorldWebService ws = HelloWorldWebService();
2: String param = "John";
3: String retresult = "";
4: ws.sayHello(name : parame; out result : retresult);
and,I have import HelloWorldWebService by wsdl into catalog.
In fact,at line 1 there is a error(fuego.connector.ConnectorRuntimeException: session is not started). Web service's instance is not created.
Anybody can help me? thanks.Hi,
I tried calling a simple webservice deployed in weblogic 8.1(see code) and it was working fine for me.
Code for WS
package service;
import com.bea.control.JwsContext;
import com.bea.jws.Protocol;
import org.xmlsoap.schemas.soap.envelope.HeaderDocument;
import com.bea.xml.XmlException;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class CheckCredit implements com.bea.jws.WebService
* @common:context
JwsContext context;
static final long serialVersionUID = 1L;
* @common:operation
* @jws:protocol form-get="false" form-post="false"
public boolean getCreditRating(String cardNumber)
System.out.println("Card number is: " + cardNumber );
boolean result = ((int)(Math.random() *100)) % 2 == 0?true:false;
return result;
Code from ALBPM Object method
creditRatingResult as Bool
getCreditRating CheckCreditService
using cardNumber = "1234-5567-4667-4566"
returning creditRatingResult = creditRatingResult
logMessage "Result is: " + creditRatingResult
What I suggest for you problem is:
1. Check the server on which you have deployed the WS. Does it require any sort of authentication prior to connecting to the WS
2. It seems you are using Java style in ALBPM. Try switching to PBL. I don't know how it makes a difference, but sometimes it helps
Thanks and Regards
Vivek Nandey
BEA Certified Developer for Integration Solutions
[email protected] -
Invoke Web Services - Send empty SOAP package
We have a SOAP interface that we have consumed through a service layer for 5+ years.
There are many functions available from this endpoint.
Example, one is called Ping and requires no additional parameters. We can send this via Orchestrator with no issues and we get a response.
However all other functions have param requirements such as a set name or authentication data.
Orchestrator has no issue pulling the Format Hint. Ive attached wireshark and fiddler and all calls get sent by Orchestrator with empty packages, all parms get stripped.
We can use SOAP runner and have no issues sending these commands.
Thoughts?
Designer: 7.2.84.0
Orchestrator Management Servers:
NAME: 7.2.84.0
Libraries:
Compression-6-4109999.op4caw: 7.2.84.0
Compression-6-4109999.op4saw: 7.2.84.0
Database-14-40801.op4caw: 7.2.84.0
Database-14-40801.Op4saw: 7.2.84.0
DataMapper-689-5000001.op4caw: 7.2.84.0
DataMapper-689-5000001.op4saw: 7.2.84.0
DateTime-1-5000001.op4saw: 7.2.84.0
Email-2-40803.op4saw: 7.2.84.0
Email-2-4109999.op4caw: 7.2.84.0
Encryption-628-5000001.op4caw: 7.2.84.0
Encryption-628-5000001.op4saw: 7.2.84.0
EncryptionDomainLibResources.dll: 7.2.84.0
FileAndFolderFOCommon.dll: 7.2.84.0
FileList-38-40801.op4cbw: 7.2.84.0
FileManagement-4-40802.op4caw: 7.2.84.0
FileManagement-4-40802.op4saw: 7.2.84.0
FileManagementClientExtension.dll: 7.2.84.0
FileManagementDomain.dll: 7.2.84.0
FileManagementResource.dll: 7.2.84.0
FileManagementServerExtension.dll: 7.2.84.0
FileMonitorClientExtension.dll: 7.2.84.0
FileMonitorDomain.dll: 7.2.84.0
FileMonitorServerExtension.dll: 7.2.84.0
FolderMonitorClientExtension.dll: 7.2.84.0
FolderMonitorDomain.dll: 7.2.84.0
FolderMonitorServerExtension.dll: 7.2.84.0
FormatDateTimeClientExtension.dll: 7.2.84.0
FormatDateTimeDomainLibResources.dll: 7.2.84.0
FormatDateTimeServerExtension.dll: 7.2.84.0
Internet-13-40801.op4caw: 7.2.84.0
Internet-13-4109999.op4saw: 7.2.84.0
jf.SCOrch.Integration.DataManipulation.DataManipulationImages.dll: 1.0.0.0
jf.SCOrch.Integration.SharePoint.ActivityImages.dll: 1.0.0.0
Kelverion.IntegrationPack.RunbookManagement.Images.dll: 1.0.0.1
Kelverion.IntegrationPack.SqlServer.Images.dll: 2.0.0.0
ManageTextFileClientExtension.dll: 7.2.84.0
ManageTextFileDomain.dll: 7.2.84.0
ManageTextFileServerExtension.dll: 7.2.84.0
Microsoft.EnterpriseManagement.Core.dll: 7.5.3046.0
Microsoft.SystemCenter.Orchestrator.ActiveDirectoryIP.Images.dll: 7.2.43.0
Microsoft.SystemCenter.Orchestrator.Integration.SCCM2012.ClientExtension.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCCM2012.Domain.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCCM2012.ServerExtension.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCOM2012.ClientExtension.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCOM2012.Domain.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCOM2012.ServerExtension.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCSM2012.ClientExtension.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCSM2012.Domain.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.SCSM2012.ServerExtension.dll: 7.2.56.0
Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ClientExtension.2.dll: 7.2.7.0
Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ClientExtension.dll: 7.0.359.0
Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ServerExtension.2.dll: 7.2.7.0
Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ServerExtension.dll: 7.0.359.0
Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.Wizard.Images.dll: 7.2.7.0
MpCore4LibResources.dll: 7.2.84.0
MpCoreLibResources.dll: 7.2.84.0
NetBrowser-40-40801.op4cbw: 7.2.84.0
NetUseObjectsClientExtension.dll: 7.2.84.0
NetUseObjectsServerExtension.dll: 7.2.84.0
Network-24-407.op4caw: 7.2.84.0
Network-24-40801.op4saw: 7.2.84.0
ObjectResources.dll: 7.2.84.0
OpCoreLibResources.dll: 7.2.84.0
OpToolsLibResources.dll: 7.2.84.0
ProcessBrowser-69-40801.op4cbw: 7.2.84.0
PS_Tools.dll: 1.0.0.19
QueryXmlClientExtension.dll: 7.2.84.0
QueryXmlServerExtension.dll: 7.2.84.0
RandomStringClientExtension.dll: 7.2.84.0
RandomStringDomainLibResources.dll: 7.2.84.0
RandomStringServerExtension.dll: 7.2.84.0
RASPhoneBook-56-40801.op4sbw: 7.2.84.0
RASPhoneBrowser-56-40801.op4cbw: 7.2.84.0
RunScriptClientExtension.dll: 7.2.84.0
RunScriptDomain.dll: 7.2.84.0
RunScriptServerExtension.dll: 7.2.84.0
Schedule-1-40801.op4caw: 7.2.84.0
SnmpClient-119-4109999.op4caw: 7.2.84.0
SNMPClientExtension.dll: 7.2.84.0
SnmpDomainLibResources.dll: 7.2.84.0
SnmpService-119-4109999.op4saw: 7.2.84.0
SSHClient-117-4109999.op4caw: 7.2.84.0
SSHService-117-4109999.op4saw: 7.2.84.0
StandardObjects.dll: 7.2.84.0
SystemCenter.IntegrationPack.ExchangeAdmin.Images.dll: 7.2.51.0
SystemCenter.IntegrationPack.ExchangeUser.Images.dll: 7.2.49.0
SystemCenter.IntegrationPack.Ftp.Images.dll: 7.2.47.0
SystemCenter.IntegrationPack.SharePoint.Images.dll: 7.2.52.0
SystemUtilities-16-40801.op4caw: 7.2.84.0
SystemUtilities-16-40802.op4saw: 7.2.84.0
TextFile-15-40801.op4caw: 7.2.84.0
TextFile-15-40801.op4saw: 7.2.84.0
WebServiceChannelLibResources.dll: 7.2.84.0
WebServicesBase.dll: 7.2.84.0
WebServicesClientExtension.dll: 7.2.84.0
WebServicesProxy.dll: 7.2.84.0
WebServicesServerExtension.dll: 7.2.84.0
WindowsUtilities-21-40801.op4caw: 7.2.84.0
WindowsUtilities-21-40801.op4saw: 7.2.84.0
Wmi-8-40802.op4caw: 7.2.84.0
Wmi-8-40809.op4saw: 7.2.84.0
XsltTransformClientExtension.dll: 7.2.84.0
XsltTransformServerExtension.dll: 7.2.84.0
Moved OnI've noticed the same behaviour.
When I call a webservice using the "Invoke Web Services"-activity using only the elements of the xml e.g. <object>somevalue</object> the xml that gets sent is complete and consumed by the webservice.
However when I call another method that requires attributes (e.g. <object name="something">somevalue</object>) the attributes (name="something") gets stripped from the xml causing the webservice to bounce my call as certain
(mandatory) parameters are missing.
I've confirmed this through Wireshark.
I'm possitive my XML payload is correct as this works through both SOAPUI and Powershell.
(not intending to hijack the question, mainly confirming the behaviour and providing and additional use case) -
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? -
Invoking Web Service From PL SQL package
Below is the sample code to invoke web service from pl/sql package using UTL_HTTP:
Declare
http_req UTL_HTTP.req;
http_resp UTL_HTTP.resp;
Begin
http_req :=
UTL_HTTP.begin_request
'http://'
|| lv_hosturl
-- || '.net/soa-infra/services/finance_rt/Payments/paymentsprocess_client_ep',
--new url
|| '.net/soa-infra/services/finance_rt/PaymentsReq/paymentsprocess_client_ep?WSDL',
'POST',
'HTTP/1.1'
UTL_HTTP.set_header (http_req, 'Content-Type', 'text/xml');
-- since we are dealing with plain text in XML documents
UTL_HTTP.set_header (http_req,
'Content-Length',
LENGTH (lv_soap_request)
UTL_HTTP.set_header (http_req, 'SOAPAction', '');
-- required to specify this is a SOAP communication
UTL_HTTP.write_text (http_req, lv_soap_request);
http_resp := UTL_HTTP.get_response (http_req);
UTL_HTTP.read_text (http_resp, lv_soap_respond);
UTL_HTTP.end_response (http_resp);
resp := XMLTYPE.createxml (lv_soap_respond);
End;Hi,
there are a lot of option to make plsql web services .
First you can stay with jdev 10.1.3
Use the xmldb servlets
use jdev 11g tp4 to create plsql ws and upgrade to jdev 11g production
And I think in the next release of jdev it will be back , there are more options which disappeared like the adf bc sdo ws or jmx datacontrol etc.
thanks Edwin -
Invoking web service from OBIEE11g failed socket timeout
Hi,
I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
I have checked several parameters in WebLogic admin console and changed those values, but I still receive the same error.
Invoking the same web service from SOAPUI sustains for more than 60 secs.
Regards,
Fujio SoneharaDon't be too surprised. Sun figured this bug out in short order. I got the same error message when trying to do the same thing, just for the heck of it. Reference this article for details.
http://java.sun.com/webservices/docs/ea2/jaxrpc/ReleaseNotes.html
It contains information about bugs fixed in the WSDP EA2. So in answer to your question, download the newer pack from
http://java.sun.com/webservices/downloads/webservicespack.html
and your bug will go away. Happy Coding.
Legal Problems?
Legal Solutions, for a lot less than you might think.
[email protected]
http://www.prepaidlegal.com/go/pritchard45 -
"Error while parsing SOAP XML payload: no element found" received when invoking Web Service
Running PB 12.1 Build 7000. Using Easysoap. Error ""Error while parsing SOAP XML payload: no element found" received when invoking Web Service". This error does not appear to be coming from the application code. Noticed that there were some erroneous characters showing up within the header portion of the XML ("&Quot;"). Not sure where these are coming from. When I do a find within the PB code for """" it gets located within two objects, whereas they both reference a "temp_xml_letter". Not sure where or what temp_xml_letter resides??? The developer of this is no longer with us and my exposure to WSDL and Web Services is rather limited. Need to get this resolved...please.
This is the result of the search. Notice the extraneous characters ("""):
dar1main.pbl(d_as400_mq_xml)
darlettr.pbl(d_email_xml)
---------- Search: Searching Target darwin for 'temp_xml' (9:52:41 AM)
---------- 2 Matches Found On "temp_xml":
dar1main.pbl(d_as400_mq_xml).d_as400_mq_xml: export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> number </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
darlettr.pbl(d_email_xml).d_email_xml: export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> imcnumber </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
---------- Done 2 Matches Found On "temp_xml":
---------- Finished Searching Target darwin for 'temp_xml' (9:52:41 AM)Maybe "extraneous" is an incorrect term. Apparantly, based upon the writeup within Wiki, the parser I am using does not interpret the """? How do I find which parser is being utilized and how to control it?
<<<
If the document is read by an XML parser that does not or cannot read external entities, then only the five built-in XML character entities (see above) can safely be used, although other entities may be used if they are declared in the internal DTD subset.
If the document is read by an XML parser that does read external entities, then the five built-in XML character entities can safely be used. The other 248 HTML character entities can be used as long as the XHTML DTD is accessible to the parser at the time the document is read. Other entities may also be used if they are declared in the internal DTD subset.
>>> -
Invoking web service with customized SOAP Header
Hi,
how can I invoke web services from my BPEL process with additional elements in the SOAP Header?
Regards,
PiotrI don't know if I completely understand your question, but here is an attempt at and answer.
It place variables in the SOAP Header open the invoke popup, click on the Adapters tab and select the variable that you would like to add into the SOAP header.
I really hope that helps.
Chris -
Invoking web service using Weblogic Workshop (JCX)
Invoking web service using Weblogic Workshop
Posted: 5 Jan 2005 23:31 PM Reply
Hi,
I have WSDL from which I have generated a web service control (.jcx) using Weblogic Workshop.
I need to write a client which will invoke the web service using the control.
Can someone help me on how to go about this ?
BTW .. I also tried the clientgen route and tried to generated the proxy jar from the WSDL but wasn't successful because of a existing clientgen bug.
Refer bugHi,
if the consumer of the webservice is a control-aware consumer ( pageflow, control, process ) simply drag the control to this consumer and the control variable is ready for use.
if the consumer is not control-aware, try to generate a proxy using eg. the axis tool, or handcode your proxy class.
links :
how to use webservice control
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/conGettingStartedWithJavaControls.html
axis
http://ws.apache.org/axis/
- Anders M.
- Anders M. -
Error Invoking Web Service Action: Status (500): null
Hi forum
I am getting an "Invoking Web Service Action: Status (500): null" error when invoking a web service action block . The BLS transaction used as a web service outputs a text string which I tested using an xacute query . while executing the transaction as a web service the tracer tells me that there is no output .
Best regards,
Antonio
I am using an xMII 11.5 installation .
[INFO ]: Execution Started At: 04:17:46
[DEBUG]: 00000.01600 Begin Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
[DEBUG]: 00000.01600 Begin Sequence Sequence : ()
[DEBUG]: 00000.01600 Begin Action WebService_0 : ()
[ERROR]: Error Invoking Web Service Action: Status (500): null
[ERROR]: ACTION FAILED: End Action WebService_0 : ()
[DEBUG]: 00000.11000 Begin Sequence Sequence_0 : ()
[DEBUG]: 00000.11000 Begin Action Tracer_0 : ()
[INFO ]:
[DEBUG]: 00000.11000 End Action Tracer_0 : ()
[DEBUG]: 00000.11000 End Sequence Sequence_0 : ()
[DEBUG]: 00000.11000 End Sequence Sequence : ()
[DEBUG]: 00000.11000 End Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
[INFO ]: Execution Completed At: 04:17:46 Elapsed Time was 94 mSJamie,
Yes Indeed, I was calling inside a web service action another BLS transaction . Now , I am using a call to the transaction using the runner . It worked fine .
Thanks, -
Hey guys,
I am quite new in using BPEL. My first test worked fine, but know I have an issue, which I can not solve. Invoking web services with a basic return value is no problem. I could also you a dto object including some basic variables in order to invoke the web service without having problems.
But when I have a dto object as return value, I get the following exception.
Could someone give me a hint to fix my problem...that would be great!
Thanks alot!
Sven
<messages>
- <input>
- <carReserveRequest>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in0">
- <in0 xmlns="" xmlns:def="urn:TravelBooking" xsi:type="def:CarReservationDTO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<carType>
Mini
</carType>
<customerName>
9
</customerName>
<customerPhone>
9
</customerPhone>
<reservationEnd>
2030-12-12T00:00:00.000+01:00
</reservationEnd>
<reservationStart>
2029-12-12T00:00:00.000+01:00
</reservationStart>
</in0>
</part>
</carReserveRequest>
</input>
- <fault>
- <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="summary">
<summary>
exception on JaxRpc invoke: trailing block elements must have an id attribute
</summary>
</part>
</remoteFault>
</fault>
</messages
Message was edited by:
user606281Here is more information. Below are the relevant sections of the web service's WSDL which I am trying to call from BPEL:
- <wsdl:message name="getNextIDResponse">
<wsdl:part name="part1" element="ns0:getNextIDResponse" />
</wsdl:message>
- <wsdl:message name="getNextIDFault">
<wsdl:part name="part1" element="ns0:SOAPExceptionFault" />
</wsdl:message>
<wsdl:message name="getNextIDMessage" />
- <wsdl:portType name="GetUniqueIDPortType">
- <wsdl:operation name="getNextID">
<wsdl:input message="axis2:getNextIDMessage" wsaw:Action="urn:getNextID" />
<wsdl:output message="axis2:getNextIDResponse" />
<wsdl:fault name="getNextIDFault" message="axis2:getNextIDFault" />
</wsdl:operation>
</wsdl:portType> -
Invoking web service with HTTP authentication using OdiInvokeWebService
I did all configurations in OdiInvokeWebService Advanced Editor. When I press "Invoke web service" there are no errors. But when I try to execute this step there is an error:
java.lang.IllegalArgumentException: Bad password format. Make sure that it's an encrypted password.
Text of the command:
OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=_321321_"
*<?xml version = '1.0' encoding = 'UTF8'?>*
*<ZODI_FILERequest>*
*<ZODI_FILE>*
*<FILE>/tmp/temp1.txt</FILE>*
*</ZODI_FILE>*
*</ZODI_FILERequest>*
When I fill HTTP password edit manually and try to execute there is another error:
*com.sunopsis.wsinvocation.SnpsWSInvocationException: AxisFault*
*faultCode: {http://xml.apache.org/axis/}HTTP*
*faultSubcode:*
*faultString: (401)Unauthorized*
Text of the command:
*OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=*aIyHMmFSmTzVm1V08nTf"
*<?xml version = '1.0' encoding = 'UTF8'?>*
*<ZODI_FILERequest>*
*<ZODI_FILE>*
*<FILE>/tmp/temp1.txt</FILE>*
*</ZODI_FILE>*
*</ZODI_FILERequest>*
ODI Version 11.1.1.3.0I've gotten past the original error by importing the security certificate of the Web service into my keystore/truststore. I'm also running the process on SOA 10.1.3.1.0. Now when I invoke the Web service from the BPEL process I get this error:
exception on JaxRpc invoke: HTTP transport error:
javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
javax.xml.soap.SOAPException: Bad response: 403 Forbidden
I've tried passing the credentials every way I can -- partner link properties, Oracle Web Services Manager, whatever -- and still get the same error. I would expect to see a 401 error for problems with credentials, not a 403.
Any suggestions?
Thanks for your time.
Paul Camann -
Invoke Web Service - An unknown error occurred
We recently moved our Runbooks to Windows Server 2012 R2. The Invoke Web Services activity has not been executed previously on this installation and thus no cache files.
Entering any SOAP WSDL into the WSDL Properties fields then clicking Method throws an error An Unknown Error Occurred.
Do not see any additional information in Logs or Event Viewer.
All WSDLs are known to be good and are consumed by other applications, including PowerShell.
Thoughts?
Edit: Tested on another installation and it works. I do not have the option to reinstall the server that is facing this issue.
Moved OnResolved the issue. Team forgot to install R2. The working environment has R2, after upgrading the issue is resolved.
It would appear that Invoke Web Services in Orchestrator 2012 is useless.
Moved On
Maybe you are looking for
-
I cannot synch movies to my iPad. This has worked for me in the past. I keep getting an error message that I am not connected to the internet. Yet, I certainly am. How else could I post this message. I can listen to music clips from the iTunes s
-
I have reinstalled my computer and now I can not find the Acrobat x Standard software to download
I have reinstalled my computer and I can not find the Acrobat X standard software to download so that I can reinstall. Only the pro version seems to be available via your websit
-
How to make a jar file from a java file?
how to make a jar file from a java file, is there any one tht can help me thank you;
-
NOKIA ASHA 501 SOFTWARE UPDATE(VERSION 14.0.4) MAK...
HELLO ANY ONE FROM NOKIA I NEED UR HELP ACTUALLY I AM A BIG FAN OF NOKIA BUT NOW I FEEL SO SAD.. I AM USING NOKIA ASHA 501 I got a update notification on screen i updated with wifi after update my phone all apps including browser automatiacly closin
-
My MacBook Pro showed Spinning weel (SPOD) and when I tried to reboot took ages to restart (20 minutes)now shows SPOD after every command and is extrmely slow