BPEL statistics get-wsdl
Hi everybody
I am performing BPEL load testing and I am looking at the request breakdown in the BPEL domain statistics and it shows that most time is spent in the get-wsdl step.
Does anybody know what exactly is going on in this get-wsdl step and what can be done to reduce the time spent in this step?
Thank you
Hi Frank,
You might try going through the webservice overview:
http://edocs.bea.com/wls/docs81/webserv/overview.html#1071587 and the
tutorial http://webservice.bea.com/index.html#qz12
You are right; UDDI (and the JAXR API, etc.) is just a discovery
mechanism. Now that you have discovered the webservice and have the
WSDL, then you need to use the information in the WSDL to communicate
with the webservice.
HTHs,
Bruce
frank wrote:
>
Hi
I am trying out webservices and have couple of questions.
1) I register a services on uddi server and overviewDocument url being my WSDL
like http://<somehost>:<port>/HelloWorld?WSDL. Now i use jaxr ro search the registry.
Problem i am facing is how do i get this WSDL from registry and in what form i
will get. Using jaxr i am able to serach for company and get till method name
but am clueless what do i do next to get wsdl and then how do i preoceed ?
2)Say once i get wsdl by somemeans thru jaxr. (Correct me if i am wrong). What
do i do next. Should i use some tool like wsdl2java and generate client. How do
i call this webservice ?
Please help me this thing is tooo confusing.
Thanks
Similar Messages
-
File Adapter BPEL Process getting switched off
The file adapter BPEL process reads a csv file which has a series of records in itfrom /xfer/chroot/data/aramex/accountUpdate/files. In between reading the files, the BPEL process gets switched off. The below snippet is the error we found in the domain.log. Anybody can you please suggest what to do?
<2010-11-25 16:22:28,025> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound>
java.io.FileNotFoundException: /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.tip.adapter.file.FileUtil.copyFile(FileUtil.java:947)
at oracle.tip.adapter.file.inbound.ProcessWork.defaultArchive(ProcessWork.java:2341)
at oracle.tip.adapter.file.inbound.ProcessWork.doneProcessing(ProcessWork.java:614)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:445)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:227)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
at java.lang.Thread.run(Thread.java:619)
<2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> Processer thread calling onFatalError with exception /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv (No such file or directory)
<2010-11-25 16:22:28,025> <FATAL> <PreActivation.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(root)]Resource Adapter requested Process shutdown!
<2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - performing endpointDeactivation for portType=Read_ptt, operation=Read
<2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> Endpoint De-activation called in adapter for endpoint : /xfer/chroot/data/aramex/accountUpdate/files/
<2010-11-25 16:22:28,095> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> ProcessWork::Delete failed, the operation will be retried for max of [2] times
<2010-11-25 16:22:28,095> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound>
ORABPEL-11042
File deletion failed.
File : /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv as it does not exist. could not be deleted.
Delete the file and restart server. Contact oracle support if error is not fixable.
at oracle.tip.adapter.file.FileUtil.deleteFile(FileUtil.java:279)
at oracle.tip.adapter.file.FileUtil.deleteFile(FileUtil.java:177)
at oracle.tip.adapter.file.FileAgent.deleteFile(FileAgent.java:223)
at oracle.tip.adapter.file.inbound.FileSource.deleteFile(FileSource.java:245)
at oracle.tip.adapter.file.inbound.ProcessWork.doneProcessing(ProcessWork.java:655)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:445)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:227)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
at java.lang.Thread.run(Thread.java:619)
<2010-11-25 16:22:28,315> <ERROR> <PreActivation.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Process state off.
The process class "BulkAccountUpdateFileConsumer" (revision "1.0" ) has not been turned on. No operations on the process or any instances belonging to the process may be performed if the process is off.
Please consult your administrator if this process has been turned off inadvertently.This patch is not for 10.1.3.1.
I have provided a response to on the following post
BPEL Process Going into Dead State Automatically.
cheers
James -
Getting WSDL in reverse order after server upgrade from WAS 5.1 to 6.1
Hi All.I need your help.I am working in RAD 7.0 .After the IBM websphere upgrade from 5.1 to 6.1 i am getting the wsdl generated exactly in reverse order(in 6.1) as compared to that in version 5.1.Can you tell me wat can be the issue .We are using glue-pro jar for generating the WSDL.is there any setting in RAD or WAS which need to be changed so that i can get WSDL in old format.
Any suggestion or opinion is welcomed.Does it matter? And if so, why does it matter?
From my previous experience with Glue you don't want to have it generate WSDLs anyway. It's not very good at it at all, generates WSDL that are full of errors.
Better to write your own WSDL and tell Glue to use those. -
Hi
I am trying out webservices and have couple of questions.
1) I register a services on uddi server and overviewDocument url being my WSDL
like http://<somehost>:<port>/HelloWorld?WSDL. Now i use jaxr ro search the registry.
Problem i am facing is how do i get this WSDL from registry and in what form i
will get. Using jaxr i am able to serach for company and get till method name
but am clueless what do i do next to get wsdl and then how do i preoceed ?
2)Say once i get wsdl by somemeans thru jaxr. (Correct me if i am wrong). What
do i do next. Should i use some tool like wsdl2java and generate client. How do
i call this webservice ?
Please help me this thing is tooo confusing.
ThanksHi Frank,
You might try going through the webservice overview:
http://edocs.bea.com/wls/docs81/webserv/overview.html#1071587 and the
tutorial http://webservice.bea.com/index.html#qz12
You are right; UDDI (and the JAXR API, etc.) is just a discovery
mechanism. Now that you have discovered the webservice and have the
WSDL, then you need to use the information in the WSDL to communicate
with the webservice.
HTHs,
Bruce
frank wrote:
>
Hi
I am trying out webservices and have couple of questions.
1) I register a services on uddi server and overviewDocument url being my WSDL
like http://<somehost>:<port>/HelloWorld?WSDL. Now i use jaxr ro search the registry.
Problem i am facing is how do i get this WSDL from registry and in what form i
will get. Using jaxr i am able to serach for company and get till method name
but am clueless what do i do next to get wsdl and then how do i preoceed ?
2)Say once i get wsdl by somemeans thru jaxr. (Correct me if i am wrong). What
do i do next. Should i use some tool like wsdl2java and generate client. How do
i call this webservice ?
Please help me this thing is tooo confusing.
Thanks -
Hi Guys
does anyone know how to get wsdl definitions of ICI interface (3.07 the best)?
I only found this forum
ICI Wsdl and XSD files
Regards
Radeki received it from icc at sap
-
BPEL Proc getting its own name
Is possible BPEL process getting its own name in execution time? Any ideas?
Thanks
RogérioRogério
(with)in XPATH > ora:getProcessId
in JAVA within bpelx:exec > use the getLocator and getConversationId - and then on the Locator findByConversationId:IInstanceHandle and on it getProcessHandle:IProcessHandle
some more info here
http://clemensblog.blogspot.com/2006/03/using-public-api-provided-within.html
hth clemens -
Osr calls from bpel are getting called twice in case of error
Hi,
I have a child process that does simple cancatenation of input and a string and reply back.
I have deployed it and published its wsdl in OSR.
I created another bpel process parent that will call the child process through OSR.
When there is error in child process, the parent process is invoking the child process twice.
oracle weblogic server version : 10.3.4
OSR: 11.1.1.4
soa suite: 11.1.1.4
I'm not able to understand why the child process is getting called twice. Ideal scenario should be to raise an error and exit. Also if there are multiple calls like parent1 process have osr call to parent process and parent process have osr call to child process,repetition is happening in a 2x ratio.
Please provide some solution for this.
Thanks.Hi Vijay,
Fault management is not implemented explicitly.
Also, i do not observe this issue when there is no OSR i.e if I have direct wsdl call to child process other than OSR, this issue of repeating twice is not coming.
Is there any configuration changes required in OSR?
Thanks,
Indu -
How to get security context in BPEL to get Logged in UserId
Hi All,
We have a requirement of getting security context in BPEL flow and from that we want to extract currentUserId. The requirement is to know who has initiated the composite flow. We are not passing userId in the event payload. In ADF we get the same through following expression:
ADFContext.getCurrent().getSecurityContext().getUserName()
Is there any similar api which we can access to get currentUserId?
Thanks,
NagaHi,
If your BPEL has oracle/wss_username_token_service_policy you can retrieve the username from the SOAP headers...
Have a look at this...
http://yuanmengblog.blogspot.com.au/2012/09/extracting-and-passing-wss-name-token.html
Cheers,
Vlad -
PeopleSoft Invoking BPEL process gets HTML returned and not XML
I am executing a SyncRequestXmlDoc in PeopleCode to call a BPEL process.
In an earlier demo environment this works fine and when I interrogate the log I get a correct Request and Response message :
I have now installed SOA Suite and I am deploying to that and I now have a problem with the Call.
It works.... but does not execute the BPEL Process.
Investigation has found that the PeopleTools Synchronous Message log shows the failing call as returning the HTML form of the BPEL process instead of the XML.
Detailed below are the request and response logs for the working process and then the failing process.
The question is :
Is the BPEL process launched by SOA suite being returned in HTML form because of a setting or configuration issue or .... ?
I can run the failing process from the BPEL Console without any problems ?
Working Call Logs
Request message :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:client="http://xmlns.oracle.com/POSyncComp" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<client:POSyncCompProcessRequest>
<client:Customer>test2</client:Customer>
<client:Item>1</client:Item>
<client:Quantity>1</client:Quantity>
<client:DeliveryDate>2007-08-02</client:DeliveryDate>
</client:POSyncCompProcessRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
and a correct response :
<?xml version="1.0"?>
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<POSyncCompProcessResponse xmlns="http://xmlns.oracle.com/POSyncComp">
<result/>
</POSyncCompProcessResponse>
</soapenv:Body>
</soapenv:Envelope>
However with a new demo environment where I am using an SOA suite I get the response returned in HTML not XML
Failing call logs shows html form in response
Request Message :<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:client="http://xmlns.oracle.com/POSyncCompInt" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<client:POSyncCompIntProcessRequest>
<client:Customer>test2</client:Customer>
<client:Item>1</client:Item>
<client:Quantity>1</client:Quantity>
<client:DeliveryDate>2007-08-02</client:DeliveryDate>
</client:POSyncCompIntProcessRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response Message :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title> Web Service</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" media="screen">A:link { font-family: Arial, Helvetica, sans-serif; color:#663300; background-color : #FFFFFF;}
A:active { font-family: Arial, Helvetica, sans-serif; color:#ff6600; background-color : #FFFFFF;}
A:visited { font-family: Arial, Helvetica, sans-serif; color:#996633; background-color : #FFFFFF;}
A.navigation:link{font-family: Arial, Helvetica, sans-serif;font-size:65%;color:#996633;background-color : #FFFFFF;}
A.navigation:active{ font-family: Arial, Helvetica, sans-serif; font-size:65%; color:#996633; background-color : #FFFFFF;}
A.navigation:visited{ font-family: Arial, Helvetica, sans-serif; font-size:65%; color:#996633; background-color : #FFFFFF;}
BODY, P, LI, UL, OL { font-family: Arial, Helvetica, sans-serif; font-size:12px; color:#000000; background-color : #FFFFFF;}
H1 { font-family: Arial, Helvetica, sans-serif; font-size:150%; color:#336699; background-color : #FFFFFF; border : solid #CCCC99; border-width : 0px 0px 2px 0px; width : 100%;}
H2 {font-family: Arial, Helvetica, sans-serif; font-size:120%; color:#336699; background-color : #FFFFFF; border : solid #cccc99; border-width : 0px 0px 2px 0px; width : 100%;}
H3 {font-family: Arial, Helvetica, sans-serif;font-size:110%;color:#336699;background-color : #FFFFFF;width : 100%;}
H4 {font-family: Arial, Helvetica, sans-serif;font-size:10pt;color:#000000;background-color : #FFFFFF;font-weight: bold;width : 100%;}
P.indent {text-indent: 9%;}
.testpage-message-body-editor { margin: 10 0 10px 10px; font-size: 12px; }
.testpage-complex-editor { margin: 10 0 0 10px; font-size: 12px;}
.testpage-complex-editor-body { margin: 10 0 0 10px; }
.testpage-complex-editor-part { margin: 10 10 0 10px; }
.testpage-header-editor { margin: 10 0 30 10px; font-size: 12px; }
.testpage-header-editor-part { margin: 0 0 10 0px; font-size: 12px; }
.testpage-simpletype-type-tag { color: rgb(128, 0, 128); padding: 0px; font-size: 12px; margin: 0 2 0 10px; }
.testpage-simpletype-tag {color: blue; font-size: 12px; margin: 0 6 0 2px; text-align:right; }
.testpage-complextype-tag {color: black; font-size: 12px; font-weight: bold;}
.testpage-input {font-size: 12px; text-align:left; }
.testpage-input-box {border: 1px solid dimgray; font-size: 12px; text-align:left;}
.testpage-dropdown { font-size: 12px;}
.testpage-dropdown-box {font-size: 12px;}
.testpage-arraytype-tag {color: black; font-size: 12px; font-weight: bold;}
.testpage-array-element-tag { margin: 0 0 0 10px; }
.testpage-array-element { margin : 10px; background-color: #FFFFFF; background-image: url("med_sub_BG.gif"); }
.testpage-arraytype-adder { font-size: 12px; }
.testpage-checkbox { height: 12px; width: 12px; margin: 2 2 3 0px; }
table {border-spacing: 0;}
td {padding: 1px 4px 1px 4px; width: 130px; }
.testpage-invocation-textarea { margin: 10px 0 0 10px; font-size: 12px; border-top: solid #95b7cd 1px;
border-left: solid #95b7cd 1px; border-bottom: solid #95b7cd 1px; border-right: solid #95b7cd 1px; }
.testpage-invocation-button { margin: 10px 0 10px 150px; font-size: 12px;}
.testpage-array-remove { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_delete_png); background-repeat: no-repeat; clear: both; display: inline-block; }
.testpage-array-add { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_add_png); background-repeat: no-repeat; clear: both; display: block; position: relative; left: 1px}
.xmlViewer {font-family: monospace; height: 300px; width: 95%; overflow: auto; position: relative; left:0px;}
.xmlViewer2 {font-family: monospace; height: 85%; width: 95%; overflow: auto; position: relative; left:0px;}
.xmlTag {color: #336699; background-color: transparent; font-weight: bold;}
.xmlAttName {color: #990000; background-color: transparent}
.xmlAttEqual {color: #006699; background-color: transparent}
.xmlAttValue {color: #0033cc; background-color: transparent}
.mode-select { margin: 0 0 0 10px;}
.extras { margin: 10px 0 0 0px; font-size: 12px; }
.expander-open {background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_disclosure_expanded_png); background-repeat: no-repeat; background-position: center; display:inline-block;}
.expander-closed { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_disclosure_collapsed_png); background-repeat: no-repeat; background-position: center; display:inline-block;}
div.bar {width:85%; padding-left:15px; border-color: rgb(128,128,128);border-width: 0px 0px 1px 0px ; border-style:solid; line-height: 0}
div.container {position:relative; border-width:1px; border:solid #95b7cd 2px; margin-top:20px;padding-top:20px}
div.operation {position:absolute; top:-12px; left:40px; background-color:white}
a .alt { visibility: hidden; position: relative; left: -4px; }
</style>
</head><body onLoad="javascript:buildEditor()">
<h1>POSyncCompInt endpoint</h1>
<p>For a formal definition, please review the Service Description.</p>
<p>Download the JavaScript Stub (<i>BETA</i>) for POSyncCompIntPort and see its documentation.</p>
<script type="text/javascript" src="http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?BPEL_OC4J_Servlettest.js"></script>
<script type="text/javascript">
// Copyright © 2003, 2006, Oracle. All rights reserved.
function switchOperation(selection) {
submit_to_self();
function switchMode(newMode) {
submit_to_self();
function submit_to_self() {
var f = document.forms['CreateMessage'];
f.action = "/orabpel/InternalCompany/POSyncCompInt/1.0";
f.submit();
function toggleHttpParams(transBox) {
var transportParams = document.getElementById("http-params");
if (transBox.checked) {
transportParams.style.display = "block";
} else {
transportParams.style.display = "none";
function handleStressInfo( stressCheckBox ) {
var initiateForm = document.forms['CreateMessage'];
if( stressCheckBox.checked ) {
// User is requesting stress test
// change the address of the form
initiateForm.action = "/orabpel/InternalCompany/POSyncCompInt/1.0?stressTest=";
} else {
// The user does not want a stress test
// change the address of the form
initiateForm.action = "/orabpel/InternalCompany/POSyncCompInt/1.0";
function buildEditor() {
var wsm_interceptors = [];
wsm_interceptors[0] = "reliability";
wsm_interceptors[1] = "security";
var node = document.getElementById("editor");
var editor = findEditors("process", wsm_interceptors);
editor.build(node);
syncFormRadioField('mode_html', true);
syncFormRadioField('mode_xml', false);
syncFormSelectField('operationName', 'process,,');
var soapAction = document.getElementById("soapAction");
soapAction.value = "process";
var soapAction_cb = document.getElementById("soapAction_cb");
soapAction_cb.checked = "true";
</script>
<h2>POSyncCompIntPort</h2>
<form name="CreateMessage" action='/orabpel/InternalCompany/POSyncCompInt/1.0?invoke=' method="POST" onSubmit="javascript:return validateAllAtomicInputs(this);">
<input type="hidden" name="contentType" value="text/xml" >
<input type="hidden" name="portName" value="POSyncCompIntPort" >
<input type="hidden" name="serviceName" value="POSyncCompInt" >
<input type="hidden" name="serviceNamespace" value="http://xmlns.oracle.com/POSyncCompInt" >
<div class="container">
<div id="mode-select" class="operation">
Operation
: <span id="operationSelect">
<select class="testpage-input-box" id="operationName" name="operationName"
onchange="switchOperation( this.value ); return true;">
<option value="process,," SELECTED>process</option></select>
</span>
<span style="align: right" class="testpage-edit-modes">
<input id="mode_html" name="mode" type="radio" onclick="switchMode( this.value ); return true;"
VALUE="html" Checked />
HTML Form</span>
<input id="mode_xml" name="mode" type="radio" onclick="if(!validateAllAtomicInputs(this.form)){ this.checked = false; document.getElementById('mode_html').checked = true; } else { switchMode( this.value ) }; return true;"
VALUE="xml" />
XML Source
</div>
<div id="editor"></div>
</div>
<div>
<p><i>Note: XML source view contents will not be reflected in the HTML form view</i></p>
</div>
<div class="extras">
<label>
<span><a class="expander-closed" id="tp_http_transport" href="javascript:toggleExpand('http-params','tp_http_transport')"><span class="alt">---</span></a></span>
<span>Show Transport Info</span>
</label>
<div id="http-params" class="extras" style="font-size:12px;padding-left:20px;display:none">
<table><tr>
<td class="testpage-input">HTTP Authentication
</td><td class="testpage-input"><input type="checkbox" class="testpage-checkbox" name="transport-enablement" style="font-size:12px; margin-left:10px"> Enable
</td>
</tr><tr><td>
<table><tr><td class="testpage-input">
User Name</td><td><input class="testpage-input-box"
type="text"
name="form_user"/></td>
</tr>
<tr><td class="testpage-input">
Password</td><td><input class="testpage-input-box"
type="password"
name="form_password"/>
</td></tr>
</table>
</td></tr>
</table>
<div id="soap-action" class="extras">
<label>
SOAP Action
</label>
<span id="testpage-soap-action" class="extras">
<input class="testpage-input-box" type="text" id="soapAction" name="soapAction" size="35"/>
</span>
<span><input type="checkbox" class="testpage-checkbox" name="soapAction_cb" id="soapAction_cb"
onclick="javascript:toggleDisabled(this, 'soapAction')" style="font-size:12px; margin-left:10px"/> Enable</span>
</div>
</div>
</div>
<div id="stress" class="extras">
<div>
<span><a class="expander-closed" id="tp_stress_info" href="javascript:toggleExpand('stressInfo','tp_stress_info')"><span class="alt">---</span></a></span>
<span>Perform stress test</span>
<span> <input type="checkbox" class="testpage-checkbox" name="stress" onclick="handleStressInfo( this )" style="font-size:12px; margin-left:10px"><span> Enable </span></span>
<div id="stressInfo" style="font-size:12px;padding-left:20px;display:none">
<table cellpadding="1" cellspacing="0" width="100%" summary="">
<tr>
<td width="300" class="testpage-input">
Number of Concurrent Threads </td>
<td class="testpage-input">
<input type="text" name="stress_threadCount" value="10" size="4" />
(threads) </td>
</tr>
<tr>
<td class="testpage-input">
Number of Loops </td>
<td class="testpage-input">
<input type="text" name="stress_loopCount" value="5" size="4" />
(loops) </td>
</tr>
<tr>
<td class="testpage-input">
Delay </td>
<td class="testpage-input">
<input type="text" name="stress_delay" value="1000" size="4" />(milliseconds) </td>
</tr>
</table>
</div>
</div></div>
<input type="hidden" name="reliability" value="true"/>
<input type="hidden" name="security" value="true"/>
<input align="right" name="invokeMessage" type="submit" value="Invoke" class="button"/><div id="validation_error_message"></div>
</form>
<h2> </h2>
<p><font face="Arial" size="1">Copyright © 2003, 2006, Oracle. All rights reserved.</font></p>
</body></html>
Is this a setting or configuration problem in my SOA suite install ?
Needless to say the BPEL process does not execute.
Can anyone help ?Hi Lonneke
Thanks for responding....
You are correct in seeing that the two services are different in name.
However they are identical in function.
I created the service POSyncComp in my earlier version of JDev and deployed it to my local OC4J.
Which is launched by a PeopleSoft call using PeopleCode.
I have now rewritten this service in my new JDev and called it POSyncCompInt and deployed to home in an SOA suite implementation.
So whilst I test and before I roll the original service call out, I have both.
I have duplicated the PeopleCode and tweaked the message call, so that for testing purposes, and before I drop the current working version I have both calls in my PeopleCode event.
The original POSyncComp call still works, but the call to the 'new replacement' does not.
Hence the log shows both calls.... with slightly different names.
The strange thing is that the PeopleSoft LOG shows very similar code in the Request Message, but the response from the new call shows the HTML Form that I get if I run the second BPEL process from the SOA BPEL console.
So it looks like it is addressing the URL correctly.... but it suggests that stand alone OC4J returns a different response to the SOA suite which I am using for the new version of the BPEL process.... Is this configuration ?
It hints at the xsd file and the complex message type at entry to the BPEL process.
I can run the new process from the SOA suite BPEL Console with no problems.
I hope that clarifies your question about two different service names -
Creation of BPEL with a WSDL having 2 operations with same name
How to create a BPEL 2.0 from WSDL which is having the +2 operation with Same name+ and we are planing to USE PICK activity but the BPEL is giving error while selecting the operation name
can't create input variable.The selected operation does not have an input message.+
WSDL:Operation
<wsdl:portType name="ABC">
*<wsdl:operation name="XYZ"*>
<wsdl:input name="Request1" message="tns:Request"/>
<wsdl:output name="Response1" message="tns:Response"/>
</wsdl:operation>
*<wsdl:operation name="XYZ">*
<wsdl:input name="Request2" message="tns:Request"/>
<wsdl:output name="Response2" message="tns:Response"/>
</wsdl:operation>
</wsdl:portType>
Can you please provide the alternate solution if the procedure followed by us is wrong
Thanks in AdvanceHi Preetam,
I believe it's not allowed, use different operation name.
A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes.
This applies only to the wsdl:operations within a given wsdl:portType. A wsdl:portType may have wsdl:operations with names that are the same as those found in other wsdl:portTypes.
why do you need multiple operation with same message type?
Regards,
Faiz -
Getting wsdl file from behind a firewall
Hi All,
I need to create a webservice using a WSDL file. The client is behind a proxy/firewall which requires authentication.
I am using a service factory:
ServiceFactory factory = createServiceFactoryInstance();
factory.createService(wsdlLocation, serviceName);
The call is made through the proxy, because i set the http.proxyHost and http.proxyPort properties.
Now, the proxy server does not allow the client to get this WSDL without authorization. I have the username and password, but I don't know how to insert them to the request for the wsdl file.
Does anyone know how to do it?
Thanks!hi,
Please ensure that u can go through firewall to port 3306.
Try telnet mysql.server_ip 3306. I no response contact fw admin to allow your ip to go thru.
daniel -
Web Service Error get wsdl via URL
Hi,
I try to import a Webservcie as new Model (via URL), but I get everytime following error:
Feb 28, 2007 10:55:59 AM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[main,5,main]] ERROR: Internal error
Plugin name: Web Dynpro Model Editor
Plugin ID : com.sap.ide.webdynpro.modeleditor
Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS
Method : loadNameSpacesAndModelClasses
Message : Cannot load NameSpaces and ModelClasses
Class Path: D:/SAP/JDT/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.exception/lib/exception.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/boot.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/iq-lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/util.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices_lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices_api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/tc_sec_wssec_lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;D:/SAP/JDT/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.xmltoolkit/lib/sapxmltoolkit.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/activation.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jaxm-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/saaj-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jaxrpc-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jnet.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jsse.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/mail.jar;D:/SAP/JDT/eclipse/plugins/com.sap.tc.webdynpro.model.webservice/lib/_webdynpro_model_webservice.jar;
java.home: D:\j2sdk1.4.2_06
proxyHost: http://webproxy.deutsche-boerse.de
proxyPort: 8080
nonProxyHosts: http://sapdephr.deutsche-boerse.de:50000|sapdephr.deutsche-boerse.de:50000|
Temporary Directory: c:\temp\
WSDL URL: http://sapdephr.deutsche-boerse.de:50000/WSCheckUser/Config1?wsdl
Exception : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL http://sapdephr.deutsche-boerse.de:50000/WSCheckUser/Config1?wsdl and service factory configuration {DynamicProxy.ClassPath=D:/SAP/JDT/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.exception/lib/exception.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/boot.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/iq-lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/util.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices_lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices_api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/tc_sec_wssec_lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;D:/SAP/JDT/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.xmltoolkit/lib/sapxmltoolkit.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/activation.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jaxm-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/saaj-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jaxrpc-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jnet.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jsse.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/mail.jar;D:/SAP/JDT/eclipse/plugins/com.sap.tc.webdynpro.model.webservice/lib/_webdynpro_model_webservice.jar;, DynamicProxy.HTTPPassword=, DynamicProxy.INetProxy.Bypass=http://sapdephr.deutsche-boerse.de:50000|sapdephr.deutsche-boerse.de:50000|, DynamicProxy.INetProxy.Port=8080, DynamicProxy.HTTPUserName=, DynamicProxy.Javac.path=D:\j2sdk1.4.2_06, DynamicProxy.TempDir=c:\temp\, DynamicProxy.INetProxy.Host=http://webproxy.deutsche-boerse.de}
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://sapdephr.deutsche-boerse.de:50000/WSCheckUser/Config1?wsdl ' and service factory configuration '{DynamicProxy.ClassPath=D:/SAP/JDT/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.exception/lib/exception.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/boot.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/iq-lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/util.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices_lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/webservices_api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.engine.webservices/lib/tc_sec_wssec_lib.jar;D:/SAP/JDT/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;D:/SAP/JDT/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;D:/SAP/JDT/eclipse/plugins/com.tssap.sap.libs.xmltoolkit/lib/sapxmltoolkit.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/activation.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jaxm-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/saaj-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jaxrpc-api.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jnet.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/jsse.jar;D:/SAP/JDT/eclipse/plugins/com.sap.ext.libs.webservices/lib/mail.jar;D:/SAP/JDT/eclipse/plugins/com.sap.tc.webdynpro.model.webservice/lib/_webdynpro_model_webservice.jar;, DynamicProxy.HTTPPassword=, DynamicProxy.INetProxy.Bypass=http://sapdephr.deutsche-boerse.de:50000|sapdephr.deutsche-boerse.de:50000|, DynamicProxy.INetProxy.Port=8080, DynamicProxy.HTTPUserName=, DynamicProxy.Javac.path=D:\j2sdk1.4.2_06, DynamicProxy.TempDir=c:\temp\, DynamicProxy.INetProxy.Host=http://webproxy.deutsche-boerse.de}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
... 53 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)
... 56 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://sapdephr.deutsche-boerse.de:50000/WSCheckUser/Config1?wsdl , passing via http proxy: http://webproxy.deutsche-boerse.de:8080, used user to connect: : http://webproxy.deutsche-boerse.de -> java.io.IOException: Cannot connect to http://sapdephr.deutsche-boerse.de:50000/WSCheckUser/Config1?wsdl , passing via http proxy: http://webproxy.deutsche-boerse.de:8080, used user to connect: : http://webproxy.deutsche-boerse.de
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1038)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1125)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 57 more
Caused by: java.io.IOException: Cannot connect to http://sapdephr.deutsche-boerse.de:50000/WSCheckUser/Config1?wsdl , passing via http proxy: http://webproxy.deutsche-boerse.de:8080, used user to connect: : http://webproxy.deutsche-boerse.de
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1018)
I have configured in preferences the proxy. (Try it also without a proxy) . If I call the url in IE - the IE shows the wsdl.
Thanks StefanHai Stefan,
Down load the WSdl from Navigator, and then browse it for the web service model.
NWDS 04s giving some problem while creating webservice model via URL.
Regards, -
Asynchronous BPEL Process called from an empty BPEL process getting lost.
Hi
I have an empty BPEL process calling an asynchronous BPEL process. The empty process is triggered by a read file activity. It finishes successfully and even calls the asynchronous process. There is no error thrown but the called asynchronous process does not show up in the dashboard.
When this asynchronous process is manually run from the console I get the page stating 'Cannot find the specified instance'.
I am using Jdev 10.1.3.2 and SOA Suit 10.1.3.1.
Any suggestion as to why this is happening and what is the remedy?
Buddhadev.Check your log as soon as you find that the parent process has found its way into the console. More information on logging can be found here - http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/logging.htm
Not quite sure why its so, but since 10.1.3, I've observed that the console simply doesn't show errored processes at times. So, checking the log can be a starting point in diagnosing the real issue.
HTH
Antony -
Hello,
My question is: How I can get access to the WSDL from an external System (without copy and paste). The external system want to access all WSDL Definitions of every message defined (or imported) in XI.So we don't want to see all WSDLs from the webservices.
Best way would be if there are standard interfaces to the XI repository. If there are not standard interfaces may be there are function modules in ABAP or some interfaces in Java?
I found a lot of Blogs and threads, but nothing what really answers my question, the blog and threads have all been from 2005. So I think there have been a lot of changes in this area with XI 7.0 and 7.10?
Does anybody can help me?
Thanks for you help!
MarkusHi,
Check this link,
http://help.sap.com/saphelp_nw04/helpdata/en/ba/d4c23b95c8466ce10000000a114084/content.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/45/635dd614d73bdbe10000000a
1553f7/content.htm
Regards,
AKshay.
Reward points if find useful. -
hello everybody, I am trying to use a web service method and get outprint in xml. My codes are;
package webpazar;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.xml.soap.Node;
import webpazar.BankalariVerResponse.BankalariVerResult;
public class NewServlet extends HttpServlet {
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
try {
webpazar.Service service = new Service();
out.println(service.getWSDLDocumentLocation());
out.println("<br/>");
BankalariVerResult banks=service.getServiceSoap().bankalariVer();
out.println(banks);
Node kod=(Node) service.getServiceSoap().bankalariVer();
out.println("<br/>");
out.println(kod);
}}the output is:
http://www.globalodemenoktasi.com/webservis/odeme/service.asmx?WSDL
webpazar.BankalariVerResponse$BankalariVerResult@115fbb0 The web Service URL: http://www.globalodemenoktasi.com/webservis/odeme/service.asmx?WSDL
when I call the BankalariVer() method, the program must print a xml file like;
<banka adi="Se?iniz.." kodu="0" /><banka adi="Yap? Ve Kredi Bankas?"
kodu="13814" /><banka adi="Garanti Bankas?" kodu="13828" /><banka
adi="Finansbank" kodu="13842" /><banka adi="Vak?fbank" kodu="13885" /><banka
adi="HSBC" kodu="13899" /><banka adi="?? Bankas?" kodu="13786" /><banka
adi="Akbank" kodu="13800" />
But I could not get this printout. How can I get this xml printout??
Also I got some codes from .NET, but xmlNode cannot work in javawebpazar.Service servis = new webpazar.Service();
XmlNode bankalar = servis.BankalariVer(); help help help????? please
Edited by: center15 on Aug 13, 2008 5:31 AMpublic static void main(String[] args) {
try {
ahmet.mehmet.as.Service service = new ahmet.mehmet.as.Service();
ahmet.mehmet.as.ServiceSoap port = service.getServiceSoap();
ahmet.mehmet.as.BankalariVerResponse.BankalariVerResult result = port.bankalariVer();
System.out.println("Result = "+result);output is:
Result = ahmet.mehmet.as.BankalariVerResponse$BankalariVerResult@14866
I would like to get list of banks
the bankalariVer methods is:
package ahmet.mehmet.as;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
* <p>Java class for anonymous complex type.
* <p>The following schema fragment specifies the expected content contained within this class.
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* </restriction>
* </complexContent>
* </complexType>
* </pre>
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "BankalariVer")
public class BankalariVer {
}bankalariVerResponse method is:
package ahmet.mehmet.as;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
* <p>Java class for anonymous complex type.
* <p>The following schema fragment specifies the expected content contained within this class.
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="BankalariVerResult" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"bankalariVerResult"
@XmlRootElement(name = "BankalariVerResponse")
public class BankalariVerResponse {
@XmlElement(name = "BankalariVerResult")
protected BankalariVerResponse.BankalariVerResult bankalariVerResult;
* Gets the value of the bankalariVerResult property.
* @return
* possible object is
* {@link BankalariVerResponse.BankalariVerResult }
public BankalariVerResponse.BankalariVerResult getBankalariVerResult() {
return bankalariVerResult;
* Sets the value of the bankalariVerResult property.
* @param value
* allowed object is
* {@link BankalariVerResponse.BankalariVerResult }
public void setBankalariVerResult(BankalariVerResponse.BankalariVerResult value) {
this.bankalariVerResult = value;
* <p>Java class for anonymous complex type.
* <p>The following schema fragment specifies the expected content contained within this class.
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
public static class BankalariVerResult {
@XmlMixed
@XmlAnyElement(lax = true)
protected List<Object> content;
* Gets the value of the content property.
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the content property.
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Object }
* {@link String }
public List<Object> getContent() {
if (content == null) {
content = new ArrayList<Object>();
return this.content;
}How can I get the list of banks???
my web service manager give the .net codes, they dont know java
Maybe you are looking for
-
if i use a usb flash drive which is mac os and windows compatible can i use it to copy files from the mac to a windows machine. i have to do some training abroad and wnat to take the files on a usb from the mac but they will only have a windows opera
-
When I save a Word 2010 doc as a pdf file, it opens up in Adobe Reader as a blank page, no text, no background etc. I am logged on as the Administrator, running Windows 7, using Microsoft Home and Business 2010.
-
PPT slides will not advance on their own, pausing automatically in Captivate 6 import
So frustrating, This was working around 8 pm lst nite, then all of a sudden the slides will not advance on their own. I've read several posts and tried most. I've unchecked the compression settings in Captivate 6, made sure I have the patch, I unins
-
Connecting ZTE627 to mac with OS X 10.5.8
I have just purchased a 3 mobile dongle ZTE627. Im unable to get it to load on my mac, yet when i plug it into my PC the install screen comes up straight away. Is there a way to get this to work on my mac?
-
Mandatory assignment of Project with Transport Request
Hi All, I have to create project PRJ1 in Solman and configure it with DEV system client 400. So all the requests created in DEV 400 must be assigned to PRJ1 also the condition is users must be able to create request only in 400. There is also one cli