WSDL Help
I am trying to use the generateReportSQL(), executeXMLQuery through WSDL. I am able to get the report to run, however, I am unable to apply any "filterExpressions" to it. Any help on getting this to work would be greatly appreciated!!
XML variations for filterExpressions that I tried but they were all completely ignored:
1. <?xml version="1.0" encoding="utf-8"?><saw:filter xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1"><sawx:expr xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">User.Center</sawx:expr><sawx:expr xsi:type="xsd:string">000000</sawx:expr></sawx:expr></saw:filter>
2. <saw:filter xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1"><sawx:expr xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">User.Center</sawx:expr><sawx:expr xsi:type="xsd:string">000000</sawx:expr></sawx:expr></saw:filter>
3. <?xml version="1.0" encoding="utf-8"?><saw:filter subjectArea="Security Hub" xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1"><sawx:expr xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">User.Center</sawx:expr><sawx:expr xsi:type="xsd:string">000000</sawx:expr></sawx:expr></saw:filter>
4. <saw:filter subjectArea="Security Hub" xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1"><sawx:expr xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">User.Center</sawx:expr><sawx:expr xsi:type="xsd:string">000000</sawx:expr></sawx:expr></saw:filter>
5. <sawx:expr xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1" xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">User.Center</sawx:expr><sawx:expr xsi:type="xsd:string">000000</sawx:expr></sawx:expr>
6. <sawx:expr subjectArea="Security Hub" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1" xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">User.Center</sawx:expr><sawx:expr xsi:type="xsd:string">000000</sawx:expr></sawx:expr>
7. <?xml version="1.0" encoding="utf-8"?><sawx:expr subjectArea="Security Hub" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1" xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">User.Center</sawx:expr><sawx:expr xsi:type="xsd:string">000000</sawx:expr></sawx:expr>
I wish I could give more details. Heck, I would post the
entire WSDL and soap call, but I am under NDA with the company that
I am implementing it from. I am also in between a rock and hard
place, because they DO NOT have any coldfusion implementation of
their product and know nothing about the language. So, I am SOL
when I am having problems with consuming their web service.
With that being said, I have used CFINVOKE and CFinvoke
arguement. Odd thing is that when I do and pass the correct
arguments, it tells me that the method doesn't exist. Now, I have
even heard that you must include all optional arguments with some
web services. I tried that too, still it tells me the method I
chose doesn't exist. Very frustrating.
Thats why I thought there might be a way to use the entire
soap envelope against the WSDL to produce a result other than
"method doesn't exist".
Jeff
Similar Messages
-
I'll try to make this as simple as possible in hope I get a
response. I have a particular web service I need to consume. Using
its WSDL file I have locally, how can I make a direct SOAP call to
it using the actual XML SOAP envelope? It balks when trying to use
cfinvoke with CFinvokearguments, giving me a "method doesn't exit"
error. I figure I can invoke the service somehow using CFHTTP and
using the entire soap envelope to call the web service. Am I
barking up the wrong tree here?
Looking at the actual soap body inside the envelope, Since
its XML there are a number of child tags inside i.e.
<soapenv:Body>
<the_request>
<security_header>
<some_element>whatever</some_element>
<another_element>whatever2</another_element>
</security_header>
<config_header>
<some_configelement>whatever</some_configelement>
<another_configelement>whatever2</another_configelement>
</config_header>
<data>
<some_dataelement>whatever</some_dataelement>
<another_dataelement>whatever2</another_dataelement>
</data>
</the_request>
</soapenv:body>
Thats it, no magic, no soap headers, nothing. Its all
contained within the body. Side note: How does CFinvoke arguments
keep track of what child elements they are under in the call? Any
help would be appreciated..
Thanks! JeffI wish I could give more details. Heck, I would post the
entire WSDL and soap call, but I am under NDA with the company that
I am implementing it from. I am also in between a rock and hard
place, because they DO NOT have any coldfusion implementation of
their product and know nothing about the language. So, I am SOL
when I am having problems with consuming their web service.
With that being said, I have used CFINVOKE and CFinvoke
arguement. Odd thing is that when I do and pass the correct
arguments, it tells me that the method doesn't exist. Now, I have
even heard that you must include all optional arguments with some
web services. I tried that too, still it tells me the method I
chose doesn't exist. Very frustrating.
Thats why I thought there might be a way to use the entire
soap envelope against the WSDL to produce a result other than
"method doesn't exist".
Jeff -
Help needed with wsdl compilation problem
Hi all,
I am trying to perform a wsdl2java run on a wsdl, but it keeps failing and I can't work out why.
Can anyone help me spot the problem?
Here is the problem I get:
[WARN] Type {http://Input.LeaseBaseGetMntcHistory.remarketing.gf.com}MntcHistory missing!
[WARN] Type {http://Output.LeaseBaseGetMntcHistory.remarketing.gf.com}MaintenanceHistory missing!And here is the full wsdl
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:tns="http://Master.LeaseBaseGetMntcHistory.Remarketing.gf.com" xmlns:ns0="http://Input.LeaseBaseGetMntcHistory.remarketing.gf.com" xmlns:ns1="http://Output.LeaseBaseGetMntcHistory.remarketing.gf.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="LeaseBaseMntcHistory" targetNamespace="http://Master.LeaseBaseGetMntcHistory.Remarketing.gf.com">
<wsdl:types>
<xsd:schema xmlns = "http://Input.LeaseBaseGetMntcHistory.remarketing.gf.com"
targetNamespace = "http://Input.LeaseBaseGetMntcHistory.remarketing.gf.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xsd:element name="FleetID" type="xsd:string"/>
<xsd:element name="CountryID" type="xsd:string"/>
<xsd:element name="RegID" type="xsd:string"/>
<xsd:element name="CompanyID" type="xsd:string"/>
<xsd:element name="ChassisID" type="xsd:string"/>
<xsd:element name="FleetDetails">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="FleetID"/>
<xsd:element ref="CountryID"/>
<xsd:element ref="RegID" minOccurs="0"/>
<xsd:element ref="CompanyID" minOccurs="0"/>
<xsd:element ref="ChassisID"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="MntcHistory">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="FleetDetails"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns = "http://Output.LeaseBaseGetMntcHistory.remarketing.gf.com"
targetNamespace = "http://Output.LeaseBaseGetMntcHistory.remarketing.gf.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:element name="Date" type="xsd:string"/>
<xsd:element name="Mileage" type="xsd:string"/>
<xsd:element name="StatusCD" type="xsd:string"/>
<xsd:element name="Operation" type="xsd:string"/>
<xsd:element name="Details">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Detail" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="FleetID" type="xsd:string"/>
<xsd:element name="RegID" type="xsd:string"/>
<xsd:element name="MaintenanceHistory">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="FleetID"/>
<xsd:element ref="RegID"/>
<xsd:element ref="LstUpdateDate"/>
<xsd:element ref="MntcWorkHistory"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LstUpdateDate" type="xsd:string"/>
<xsd:element name="MntcWorkHistory">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="MntcWork" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="MntcWork">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Date"/>
<xsd:element ref="Mileage"/>
<xsd:element ref="StatusCD"/>
<xsd:element ref="LineItems"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LineItems">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="LineItem" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LineItem">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Operation"/>
<xsd:element ref="Details"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Detail" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="MntcHistory">
<wsdl:part name="parameters" type="ns0:MntcHistory"/>
</wsdl:message>
<wsdl:message name="MaintenanceHistory">
<wsdl:part name="parameters" type="ns1:MaintenanceHistory"/>
</wsdl:message>
<wsdl:portType name="portType">
<wsdl:operation name="LeaseBaseClientOp">
<wsdl:input message="tns:MntcHistory"/>
<wsdl:output message="tns:MaintenanceHistory"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="intfwsLeaseBaseClientEndpoint0Binding" type="tns:portType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="LeaseBaseClientOp">
<soap:operation style="rpc" soapAction="/Processes/LeaseBaseClientOp"/>
<wsdl:input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://Input.LeaseBaseGetMntcHistory.remarketing.gf.com" parts="parameters"/>
</wsdl:input>
<wsdl:output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://Output.LeaseBaseGetMntcHistory.remarketing.gf.com" parts="parameters"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="intfLeaseBaseClient-service">
<wsdl:port name="intfwsLeaseBaseClientEndpoint0" binding="tns:intfwsLeaseBaseClientEndpoint0Binding">
<soap:address location="http://localhost:8080/Processes/intfwsLeaseBaseClientEndpoint0"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>Thanks in advance!Hello
You may try something like the modified code below.
Noticiable changes :
#1 - Removed the parentheses. Your original code won't yield alias list but a list of finder objects, which is the reason why Preview opens the image. (The statment 'open finderObject' behaves the same as double clicking it in Finder)
#2 - Only delete the original jpeg files which are converted to tiff.
#3 - Build new path for converted image.
#4 - Save in new path. (When saving image in a format other than its original format, always save the image to a new file and do not attempt to overwrite the source file.)
cf.
http://www.macosxautomation.com/applescript/imageevents/08.html
on run
tell application "Finder"
set PicturesFolder to (path to home folder as string) & "Pictures:SenseCam:" as alias
set Photographs to get entire contents of PicturesFolder as alias list -- #1
end tell
set DonePhotos to {} -- #2
tell application "Image Events"
launch
repeat with Photo in Photographs
set Photo to Photo's contents
set oldPath to Photo as string
if oldPath ends with ".jpg" then
set newPath to oldPath's text 1 thru -5 & ".tif" -- #3
set ImageRef to open Photo
save ImageRef as TIFF in newPath -- #4
close ImageRef
set end of DonePhotos to Photo -- #2
end if
end repeat
end tell
tell application "Finder"
delete DonePhotos -- #2
end tell
end run
Hope this may help,
H -
CS5.5 need help with connecting to wsdl
Hello,
I'm new to Dreamweaver CS5.5 and i'm looking for a simple way to connect to a CFC wsdl web service.
Basically need to pass 1 parameter to the webservice and have it return a string result from our database.
Is this possible to do from dreamweaver, using javascript ?
thanks.Those crosshairs are controllers for an effect. The first thing to do is to start turning off layers (eyeball) until you find the layer with the crosshairs. Once you've isolated the layer make sure that it's not a pre-comp, press F3 to reveal the ECW, and check the effects. If you can't turn the effects on and off then or access any of the settings the layer is locked. What would really help here is a screenshot. I can't tell much from the photo because I can't see what's under the hood.
-
HELP: How to set WSDL at runtime (in Flex 4)?
Hi,
My flex application needs to communicate with a Web Service whose location is not known until after deployment; the service's location is known and static during development. This means that my application should be able to communicate with the service whose wsdl url will be different from the "wsdl" value embedded in the Flex-generated code.
I can compute the wsdl url of the deployed service in the application at runtime. However, I am unable to get the application to talk to the service running at the new location.
Specifically, in application_creationCompleteHandler(), I do:
var wsdl:String = hostString+"axis2/myService?wsdl";
myWSvc = new MyWSvc(wsdl);
In the constructor of MyWSvc(), which is the subclass of the auto-generated class for the My Web Service, I do:
public function MyWSvc(runtimeWSDL:String=null) {
super();
if (runtimeWSDL != null) {
wsdl = runtimeWSDL;
_serviceControl.loadWSDL(wsdl);
//model_internal::loadWSDLIfNecessary();
This does not work; the auto-generated code always uses the WSDL value embedded in the auto-generated class for the My Web Service.
I would greatly appreciate your expert help in solving or getting around this issue.
Much thanks,
--HyongHere is what I did.
I set the settings for each environment in separate settings.xml files in SVN under seperated directories (dev,qa,prod).
Here is the syntax of the settings.xml files. Each will have its respective URLs.
<flex-config>
<compiler>
<define>
<name>CONFIG::webServiceURL</name>
<value>'http://www.xxxxxx.com/webservice_test/echocf7remote.cfc?wsdl'</value>
</define>
</compiler>
</flex-config>
The deploy.sh script asks for the environment value (dev,qa or prod) among other params, and then passes that in to the Ant like this (note there are extra params for our setup):
ant -v -f build.xml -Dprojectname=${PROJECTNAME} -Dbranchname=${BRANCHNAME} -Dversion=${VERSION} -Denvironment=${ENV} -Dbuilddir=${BUILD_DIR} >> ${LOG_FILE}
These params are used inside the build.xml
After the Ant script checks the code out from SVN in to a staging directory, we load the proper settings.xml from the proper directory based on the user specified environment (in the deploy.sh).
<load-config filename="${staging.conf}/${settings.conf}/${environment}/settings.xml"/>
${staging.conf} is defined in the build.properties and ${environment} is passed in the Ant call in the deploy.sh based on user provided input.
So if the user specifies 'dev' during the deploy.sh execution, then we would load the /build/staging/config/dev/settings.xml
Then in the pre-generates stabs I set the var at the top:
private static const wsdlURL:String = CONFIG::webServiceURL;
and modify the code bellow from hardcoded:
//wsdl = "http://www.xxxxxx.com/webservice_test/echocf7remote.cfc?wsdl";
to using the var:
wsdl = wsdlURL;
The nice thing is that all of the settings.xml 's are stored in the SVN and the correct version is used based on the environment provided by the user input during deployment script execution.
Perhaps there is a more elegant way of doing this but this works and we already use Ant, SVN and a deployment shell script so it fits right in for us. -
How to use a WSDL file to call webservice? Help!
Hi Experts,
I have exposed a SAP function module as webservice using the
Utilities -> More Utilities -> Create Web Service -> From Function module
What does this step actually does? Does it create some kind of web application like BSP for the function module in the background?
After creating the web service I have released the service definition for the SOAP runtime using the transaction WSCONFIG.
Finally I have generated the WDSL file ofr the webservice using WSADMIN transaction.
After this how will my third party application like Java will use the WSDL? Will I need any connector software to be installed in Java side.
How exactly will java call my webservice using WSDL?
What actually happens or what is the message flow when java application calls by webservice?
Kindly help.
Thanks
GopalHi, Your solution should be correct and it's a quite common approach for Login authentication.Informatica's webservice provider also need 2 steps for calling its webservice1. Getting the session ID using username and password 2. Use the session ID to call any active operation 3. Use the session ID to log out if webservice do not have any time out settings for each session. SOAP standard is listed in the WSDL of saleforce webservice. It affects if you cannot find/call any operation in PowerCenter level. My lastest information is for PWC 9.1 version only, I don't know if they have enhanced this function in 9.5. If you can call the operation, you can just put it (SOAP standard) way first. Regards,Felix
-
Help on creating Java Classes from WSDL in JDev 10.1.3
Hi all,
I am creating Java Web Service Class in JDev 10.1.3 based on my WSDL file, but I am getting a JAVA class for each Element in my WSDL, and each class has its own methods. But what I need is to have Only ONE Class with the Elements wrapped as methods in this class (this is the result I had when I was using JDev 9.0.2 but I had Datatype conversion issue, so now I am trying to do the same with JDev 10.1.3)
My WSDL file is as follows:
- <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
- <s:element name="Connect">
<s:complexType />
</s:element>
- <s:element name="ConnectResponse">
<s:complexType />
</s:element>
- <s:element name="Disconnect">
<s:complexType />
</s:element>
- <s:element name="DisconnectResponse">
<s:complexType />
</s:element>
- <s:element name="GetPIValue">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="piTAG" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="piTS" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetPIValueResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetPIValueResult" type="s:double" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="double" type="s:double" />
</s:schema>
When creating the JAVA Classes in JDev, I am getting the following:
Connect.java
ConnectResponse.java
Disconnect.java
DisconnectResponse.java
GetPIValue.java
GetPIValueResponse.java
But what I actually need is to have a Method GetPiValue that should take in 2 paramters as strings and return a Double Value. Now the GetPIValue looks like this:
package ConnecttoPI;
public class GetPIValue implements java.io.Serializable {
protected java.lang.String piTAG;
protected java.lang.String piTS;
public GetPIValue() {
public java.lang.String getPiTAG() {
return piTAG;
public void setPiTAG(java.lang.String piTAG) {
this.piTAG = piTAG;
public java.lang.String getPiTS() {
return piTS;
public void setPiTS(java.lang.String piTS) {
this.piTS = piTS;
With this class Generated, how can I call the Class Methods and get the response?
Do I have to change the way/settings when I am creating the Java Classes using the Wizard? Why is the Wrapper wrapping the WSDL in multiple classes?
Thanks to anyone's help in advance.
Regards,
BazAn update to my previous Post:
After creating the Web Service proxy based on my WSDL file, I tested the Web Service Call from the Java Class (Service1SoapClient) and it is properly Calling the Web Service passing in String Paramters (2 Strings) and returning a Double Datatype. The Class is as below:
package project1.proxy;
import oracle.webservices.transport.ClientTransport;
import oracle.webservices.OracleStub;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Stub;
public class Service1SoapClient {
private project1.proxy.Service1Soap _port;
public Service1SoapClient() throws Exception {
ServiceFactory factory = ServiceFactory.newInstance();
_port = ((project1.proxy.Service1)factory.loadService(project1.proxy.Service1.class)).getService1Soap();
* @param args
public static void main(String[] args) {
try {
project1.proxy.Service1SoapClient myPort = new project1.proxy.Service1SoapClient();
System.out.println("calling " + myPort.getEndpoint());
// Add your own code here
double testResponse = myPort.getPIValue("A3LI004.pv", "9/9/2007 9:20 am");
System.out.println("response from PI " + testResponse);
} catch (Exception ex) {
ex.printStackTrace();
* delegate all operations to the underlying implementation class.
Connect to PI Server
public void connect() throws java.rmi.RemoteException {
_port.connect();
Disconnect from PI Server
public void disconnect() throws java.rmi.RemoteException {
_port.disconnect();
Retrieve PI Values
public double getPIValue(String piTAG, String piTS) throws java.rmi.RemoteException {
return _port.getPIValue(piTAG, piTS);
Now I am trying to IMPORT this class into Oracle Forms, but I am getting the following Error:
Importing Class project1.proxy.Service1SoapClient...
Exception occurred: java.lang.NoClassDefFoundError: oracle/webservices/transport/ClientTransport
First, is this the Correct Class that should be Imported into Oracle Forms in order to Trigger the Java Class to Call the Web Service? Why am I getting this Error? I have read that this could be because of my CLASSPATH environment variable or the J2SE version compiling the java class???
Can someone help me to IMPORT this Java Class properly into Oracle Forms and Call the Web Service?
Many thanks for your help,
Baz -
How to create Web Service Proxy with help of WSDL.
Hi ,
How to create Web Service Proxy with help of WSDL .
Please help me .
Thanks in advacne for reply .check out this article. It has all the details
http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html -
Mutliple wsdl operations for a port in BPEL Project -- Help
I was trying to create a BPEL project with multiple operations for one port type. I used a pick activity and on message acitivity to branch out based on the operation. For some reason all the operations are channeled through the same branch (operation). Please share with me your experiences and any simple project.
-----------------wsdl file -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="MultiWsdl"
targetNamespace="http://xmlns.oracle.com/MultiWsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/MultiWsdl"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE DEFINITION - List of services participating in this BPEL process
The default output of the BPEL designer uses strings as input and
output to the BPEL Process. But you can define or import any XML
Schema type and use them as part of the message types.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/MultiWsdl" schemaLocation="MultiWsdl.xsd" />
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="MultiWsdlRequestMessage">
<part name="payload" element="client:MultiWsdlProcessRequest"/>
</message>
<message name="MultiWsdlResponseMessage">
<part name="payload" element="client:MultiWsdlProcessResponse"/>
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into
a logical service unit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
*<!-- portType implemented by the MultiWsdl BPEL process -->
*<portType name="MultiWsdl">
*<operation name="Create">
*<input message="client:MultiWsdlRequestMessage"/>
*<output message="client:MultiWsdlResponseMessage"/>
*</operation>
*<operation name="Update">
*<input message="client:MultiWsdlRequestMessage"/>
*<output message="client:MultiWsdlResponseMessage"/>
*</operation>
*</portType>
<!-- portType implemented by the requester of MultiWsdl BPEL process
for asynchronous callback purposes
-->
<portType name="MultiWsdlCallback">
<operation name="TestReply">
<input message="client:MultiWsdlResponseMessage"/>
</operation>
</portType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION
the MultiWsdl partnerLinkType binds the provider and
requester portType into an asynchronous conversation.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="MultiWsdl">
<plnk:role name="MultiWsdlProvider">
<plnk:portType name="client:MultiWsdl"/>
</plnk:role>
<plnk:role name="MultiWsdlRequester">
<plnk:portType name="client:MultiWsdlCallback"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
---------------- Bpel File ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version = "1.0" encoding = "UTF-8" ?>
<!--
Oracle JDeveloper BPEL Designer
Created: Thu Nov 06 21:46:50 PST 2008
Author:
Purpose: Asynchronous BPEL Process
-->
<process name="MultiWsdl" targetNamespace="http://xmlns.oracle.com/MultiWsdl"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:client="http://xmlns.oracle.com/MultiWsdl"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:MultiWsdl"
myRole="MultiWsdlProvider"
partnerRole="MultiWsdlRequester"/>
</partnerLinks>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<variables>
<!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable"
messageType="client:MultiWsdlRequestMessage"/>
<!-- Reference to the message that will be sent back to the requester during callback -->
<variable name="outputVariable"
messageType="client:MultiWsdlResponseMessage"/>
<variable name="OnMessage_TestReq_InputVariable"
messageType="client:MultiWsdlRequestMessage"/>
<variable name="OnMessage_TestReq_InputVariable_1"
messageType="client:MultiWsdlRequestMessage"/>
<variable name="Reply_2_TestReq_OutputVariable"
messageType="client:MultiWsdlResponseMessage"/>
<variable name="Reply_1_TestReq_OutputVariable"
messageType="client:MultiWsdlResponseMessage"/>
</variables>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<!-- Receive input from requestor. (Note: This maps to operation defined in MultiWsdl.wsdl) -->
<!--
Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
-->
<pick name="Pick_1" createInstance="yes">
<onMessage portType="client:MultiWsdl" operation="Update"
variable="OnMessage_TestReq_InputVariable_1"
partnerLink="client">
<sequence name="Sequence_1">
<assign name="Assign_1">
<copy>
<from expression="'test'"/>
<to variable="Reply_1_TestReq_OutputVariable"
part="payload"
query="/client:MultiWsdlProcessResponse/client:result"/>
</copy>
</assign>
<reply name="Reply_2" partnerLink="client"
portType="client:MultiWsdl" operation="Update"
variable="Reply_1_TestReq_OutputVariable"/>
</sequence>
</onMessage>
<onMessage portType="client:MultiWsdl" operation="Create"
variable="OnMessage_TestReq_InputVariable"
partnerLink="client">
<sequence name="Sequence_2">
<assign name="Assign_2">
<copy>
<from expression='"AB"'/>
<to variable="Reply_2_TestReq_OutputVariable"
part="payload"
query="/client:MultiWsdlProcessResponse/client:result"/>
</copy>
</assign>
<reply name="Reply_1" partnerLink="client"
portType="client:MultiWsdl" operation="Create"
variable="Reply_2_TestReq_OutputVariable"/>
</sequence>
</onMessage>
</pick>
</sequence>
</process>
----------xsd -------
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/MultiWsdl"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="MultiWsdlProcessRequest">
<complexType>
<sequence>
<element name="input" type="string"/>
</sequence>
</complexType>
</element>
<element name="MultiWsdlProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
-----------------------------------------------------------------------------------------------------bpel.xml--------------------------------------------------
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELSuitcase>
<BPELProcess id="MultiWsdl" src="MultiWsdl.bpel">
<partnerLinkBindings>
<partnerLinkBinding name="client">
<property name="wsdlLocation">MultiWsdl.wsdl</property>
</partnerLinkBinding>
</partnerLinkBindings>
</BPELProcess>
</BPELSuitcase>Thanks a lot. It helped me a lot. It seems this is the problem with the BPEL Console. I tried to create another BPEL Project to invoke the other service/operations. It worked perfectly fine. I had even tested with SoapUI. It worked fine. Thanks for the right pointer.
-
WSDL generated by CAF is not compatible in XI! Please help
Hi Experts.
I have exposed a application service as a web service. It also generated the WSDL.
Now I want to use this in XI(PI). But when I import the WSDL in XI I am getting the following error:
Unable to convert imported document to WSDL
Reason:
Element "bindings" is not permitted in the "/definitions("createReservation")/portType("createReservation")" elementCheck selected category
How to fix this error? How do i generate a WSDL in CAF which is compatible in PI?
Please help
Thanks
Gopalcheck thisblog on how to monitor IDOC:
/people/kamalkumar.ramakrishnan/blog/2008/02/13/monitoring-the-idoc-adapter-in-xipi-using-idx5
Also check the related discussion:
How to Monitor IDOC Adapter
Regards,
Abhishek.
Edited by: abhishek salvi on May 19, 2009 10:07 AM -
J2ME Wsdl Client Help!! Please!!!!!!!!!!
Hey guys, i was wondering could any one help me..
i've basically used c# to create a wsdl that is deployed on iis.
my question is how exactly do i use java (j2me) to access and use the wsdl?
the wsdl retreives info from an oracle database..
can anyone point me in the right direction!any one help?!! please i'm really stuck!
-
Consuming wsdl, PLEASE HELP!!!
I'm on a new project and this is the first time I'm going to work with web services using wsdl. I read some tutorials from the net and books today but still don't get the point especially what next after using cfinvoke.
I used cfinvoke as suggested by the adobe live doc, tutorial and get the returnvariable, dumped this variable and I can see a structure in red color with class name and many methods.
my question is, what next?
I can't find any article that help me describe the next step.
How am I supposed to get the data or the xml file (?), sorry I'm very new with web service.Here are the codes:
<cfinvoke
webservice="https://amn.mod.com/ws_20/generalquery.asmx?wsdl" method="GetOneMember" returnvariable="result2">
<cfinvokeargument name="login" value="mylogin">
<cfinvokeargument name="password" value="mypassword">
<cfinvokeargument name="columns" value="firstname, Lastname,zip">
<cfinvokeargument name="constituentId" value="0003009">
</cfinvoke>
<cfdump var="#result2#">
<p>
<!--- Checking what are the sub functions of GetAllColumns ---><cfscript>mydata2 = structnew();
mydata2.firstname
= result2.GetMemberInformation;
</cfscript>
<cfdump var="#mydata2#" label="mydata2">
<p>
Error:
Element GETMEMBERINFORMATION is undefined in RESULT2.
The error occurred in C:\Inetpub\wwwroot\scratch\iModule\imodule_1.cfm: line 89
87 : <cfscript>
88 : mydata2 =structnew();
89 : mydata2.firstname = result2.GetMemberInformation;
90 : </cfscript>
91 : -
PLEASE help with JavaScript parsing of WSDL return
Can someone help with parsing return WSDL data?
My return WSDL data is a concatenated string of alias names (firstname middlename lastname generation) delininated with an "@":
7433|ALIAS|John|W|Smith| @7432|ALIAS|Johnny| |Smith| @7430|ALIAS|JJ| |Smithers| @7431|ALIAS|JJ| |Smith| @7400|ALIAS|Jon| |Smith| @7416|ALIAS|John|Wilber|Smith|JR
I must have these names appear on my forms in a "lastname, firstname middlename generation" format. Can anyone provide expertise in this area if I provide the table.column reference?
alias.alternate_id = tmp[0];
alias.type = tmp[1];
alias.firstname = tmp[2];
alias.middlename = tmp[3];
alias.lastname = tmp[4];
alias.generation = tmp[5];Can someone help with parsing return WSDL data?
My return WSDL data is a concatenated string of alias names (firstname middlename lastname generation) delininated with an "@":
7433|ALIAS|John|W|Smith| @7432|ALIAS|Johnny| |Smith| @7430|ALIAS|JJ| |Smithers| @7431|ALIAS|JJ| |Smith| @7400|ALIAS|Jon| |Smith| @7416|ALIAS|John|Wilber|Smith|JR
I must have these names appear on my forms in a "lastname, firstname middlename generation" format. Can anyone provide expertise in this area if I provide the table.column reference?
alias.alternate_id = tmp[0];
alias.type = tmp[1];
alias.firstname = tmp[2];
alias.middlename = tmp[3];
alias.lastname = tmp[4];
alias.generation = tmp[5]; -
hi
I require some sample wsdls to test my project. Could somebody help me find simple wsdls for already deployed webservices ..at some end point.
something like , a wsdl for a webservice that does math operations on numbers or a wsdl for webservice that calculates distance given 2 zipcodes.
or any other simple wsdls that represent a already deployed webservice?
Thanks
SahanaHello Sahana,
The Java Sun J2EE tutorial has a sample simple webservice with several client applications. The service build produces a simple wsdl document for use with the client and the service. The examples are found under the jax-rpc, saaj sections.
The Java Sun web services tutorial also has some client/server examples.
Apart from that there is some further explanation from the W3c WSDL specification at http://www.w3c.org
The Sun document Web Services Description Language (WSDL): An intuitive view offers a further exmaple and explanation.
I al still searching for further exmaples, particularly use of a 'complexType' with jax-rpc. I shall let you know if I find anything else.
arwh -
Help on Trasnfering .wsdl/xml format files using FTP Adapter
Hi,
I am new to Oracle BPEL and JDeveloper....
I created some processes to transfer .txt files from one location to another location using FTP Adapter..
Know I have some files on .wsdl/xml format... using bpel process can we transfer these files from one location to another location using FTP Adapter (Is it possible for .wsdl/xml files)
can any one help me on this plz
Thanks
VenkatThanks Guys .. I am able to transfer .WSDL files also
Thanks
venkat
Maybe you are looking for
-
How can I move my Events and projects to an exterior disc?
When working in FCPX, I have been getting an alert that my (laptop) startup disc is nearly full, and I should delete files to make more space. How can I move my final cut events and projects to my external drive? I have already copied the folders Fin
-
Moving SAP Database into another Hardisk
Hi Expert I want to move all WG55 database into another free space hardisk under MMSQL 2000 enterprise edition , I have 3 database to move on Eg R:\WG55DATA1,WG55DATA2,WG55DATA3 and K:\tempdb.mdf All the above database are in D:\WG55DATA1,WG55DATA2,W
-
Question about Grid Control Agents on a Veritas Cluster (or any cluster)
Hi, I'm seeking advice on how to setup Grid Control agents on a Veritas Cluster. My cluster is made up of two Sun M4000 servers running Solaris 10 x64 (node1 and node2), and 8 virtual hosts setup to fail between the nodes. Each of these virtual hosts
-
Cannot connect to iTunes store. Says check internet connection. Connection is good.
-
RSS Feed Counts not updating between computers via iCloud
MobileMe used to sync my read counts for my RSS feeds in Safari. If I read something on my iMac, my mbair shows that article as read. This no longer seems to work with iCloud. Has anyone found a work around? I like checking RSS feeds via Safari, but