Web Service System problem in EP 7.0 SP9
Hi.
We used Web Service for VC and CAF.
For this, We created Web Service System and we used SAP Logon Ticket for authentication in EP 7.0 SP08.
After we applied SP09, We got authentication problem in web service system.
From my analysis, I found SAP Logon Ticket is missing for logon method in web service system template.
Web service system template in EP 7.0 SP09 only has "NONE", "USERID/PWD" for logon method.
How can we use SAP Logon Ticket for web Service System ?
Regards, Arnold.
Hi,
it's simple: your portal version does not support IE7. To get it working, upgrade your portal to a supported SP. There is no workaround. The EP heavenly depends on Javascript, and IE7 won't run correctly the JS from SP9.
br,
Tobias
Similar Messages
-
Problems with creating web service system
Hello,
I seem to have made some changes that made my unable to create web service systems for EP or Visual Composer.
The change I made is in NetWeaver Administration > Configuration > Application Resources > WebServicesFactory, I added the Configuration Property "UseCacheByDefault" with Boolean value = true.
After this, if I create a web service system in Enterprise Portal, the Connection Tests fail. In Visual Composer when I define a web service system, the error I am getting is: "Connector Factory not found for value WebServicesFactory".
I have tried to delete the UseCacheByDefault property I added as well as restart the server but I am still getting the error.
However when I test my web service using the Web Services Navigator, I am not getting any problems. So my guess is the problem lies with the connection factory.
Can anyone help me with this issue?
Thanks.Hello,
Since creating WS system in the portal resulted with failed connection test, the issue has nothing to do with VC.
I'm just guessing, but try to configure proxy in the J2EE engine.
If that doesn't help I suggest you raise this question in the portal forum.
Best regards,
Shay -
hello colleagues,
In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
Error,
Connect Diagnostics Agent
The table does not contain any data
Agent availables in all SLD
SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
ThanksOK, then pls follow below steps;
- Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
- Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
- If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
Let me know the results.
Regards,
Vivek -
Create Web Service System using WSDL URL
Hi,
Please help me create a Web Service System.
Following is the test result when I perform Connection Test after creating a system
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
Thanks,
AtulLet me reiterate my problem.
I created the System as following
Creating System's Object:
1) Go to System Administration
2) Go to System Configuration
3) Go to Portal Content on Object Based Navigation Area (Right Side Panel)
Note: For avoiding confusion it is recommended to create a folder in which we are creating System Object.
4) Right Click on Portal Content, select New -> System (from Template)
5) This action will display a new view on right side, now choose Web Service System using WSDL URL radio button from the existing templates. Click Next
6) Give the System Name i.e. System_WS and System Id (which are mandatory fields) incase you want to give any brief notes about the system then give it in Description field. Click Finish.
8) Choose Open the object for editing Click OK.
9) Now to create a Web Service System, we need WSDL URL.
10) There are lots of freely available WSDL files on internet, search for any such WSDL file.
11) In the Properties area of system give the appropriate WSDL URL
12) Choose System alias, from display menu and give alias as System_WS.
This alias name will be the name of Web Service System.
I used the following url
http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
After the system is created,
1) Right click on the created system> open > object
2) Drop down for Display options is changed to Connection Tests from what it shows as object
3) Check the check box for the test name Connection Test for Connectors
4) Result shows that the connection failed. The error message was posted in my first question.
Thanks,
Atul -
Creating web service system for Visual Composer
Hello,
I seem to have made some changes that made my unable to create web service systems for Visual Composer.
The change I made is in NetWeaver Administration > Configuration > Application Resources > WebServicesFactory, I added the Configuration Property "UseCacheByDefault" with Boolean value = true.
After this, if I create a web service system in Enterprise Portal, the Connection Tests fail. In Visual Composer when I define a web service system, the error I am getting is: "Connector Factory not found for value WebServicesFactory".
I have tried to delete the UseCacheByDefault property I added as well as restart the server but I am still getting the error.
However when I test my web service using the Web Services Navigator, I am not getting any problems. So my guess is the problem lies with the connection factory.
Can anyone help me with this issue?
Thanks.Hello,
Since creating WS system in the portal resulted with failed connection test, the issue has nothing to do with VC.
I'm just guessing, but try to configure proxy in the J2EE engine.
If that doesn't help I suggest you raise this question in the portal forum.
Best regards,
Shay -
Web Service connect problem, Please Help!!!
I developed a web service end point following the pattern of adventure as Purchase Order End Point Bean,
WSDL is correctly generated for both Server anc Client End:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="DownloadWSService" targetNamespace="urn:DownloadWSService" xmlns:tns="urn:DownloadWSService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types/>
<message name="DownloadWSInterface_downloadWorkAssignments">
<part name="String_1" type="xsd:string"/></message>
<message name="DownloadWSInterface_downloadWorkAssignmentsResponse">
<part name="result" type="xsd:boolean"/></message>
<portType name="DownloadWSInterface">
<operation name="downloadWorkAssignments" parameterOrder="String_1">
<input message="tns:DownloadWSInterface_downloadWorkAssignments"/>
<output message="tns:DownloadWSInterface_downloadWorkAssignmentsResponse"/></operation></portType>
<binding name="DownloadWSInterfaceBinding" type="tns:DownloadWSInterface">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="downloadWorkAssignments">
<soap:operation soapAction=""/>
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></output></operation></binding>
<service name="DownloadWSService">
<port name="DownloadWSInterfacePort" binding="tns:DownloadWSInterfaceBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
and I deployed both server and client end of this web service on Sun One Application 7 (Developer version) successfully, in the application server log, I can see the info :
[#|2004-04-16T15:08:20.865+1000|INFO|j2ee-appserver1.4|javax.enterprise.system.t
ools.deployment|_ThreadID=12;|DPL5306:EJB Web Service Endpoint [DownloadWSInterf
acePort] listening at address [http://localhost:8080/webservice/DownloadWSBean]|#
But when I try to call it on the client side, I got the error and here is the log:
2004-04-16 15:48:28,477 WEB DEBUG [http8080-Processor4] - Port Info is http://localhost:8080/webservice/DownloadWSBean
calling download ws endpoint java.rmi.RemoteException: HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean; nested exception is:
HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean
Could anyone help and point to me a right direction, I have been hunting the problem for days and couldnt find a clue.
Thanks a lot in advance!Hi, I finally solved this problem, the JDNI entry value is not configured properly for the session bean that's built for the service end point.
Changed JNDI value, and use that value in the service locator to look up the session bean home, it worked. -
Web service : timezone problem
Dear All,
i have create a webservice that required user name, password, nonce and create datetime
(i.e. in soap header, add <wsu:Created ValueType="http://www.w3.org/2001/XMLSchema/dateTime">2007-05-16T16:38:03Z</wsu:Created>)
**where xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">)
i deploy the web service to OC4J, running in a window 2003 server. (timezone set to GMT+8 --> Hong Kong)
when i run a web service client, in AIX (env. variable :TZ=CUT0), to call the web service,
an error occur:
javax.xml.rpc.soap.SOAPFaultException: Clock skew too great
so i write a simple java program to check the time zone / date time setting:
sample code:
============================================================
Date d = new Date();
System.out.println("Time zone offset: " + (d.getTimezoneOffset()) / 60);
System.out.println("GMT String: " + d.toGMTString());
System.out.println("Locale String: " + d.toLocaleString());
TimeZone tz = TimeZone.getDefault();
System.out.println("TZ display Name: "+ tz.getDisplayName());
System.out.println("TZ raw offset: " + (tz.getRawOffset() / 36000 / 60));
============================================================
in the window server, the following message is printed:
Time zone offset: -8
GMT String: 16 May 2007 09:25:56 GMT
Locale String: May 16, 2007 5:25:56 PM
TZ display Name: China Standard Time
TZ raw offset: 13
in the AIX server (env. variable TZ=CUT0), the following message is printed:
Time zone offset: 0
GMT String: 16 May 2007 17:25:49 GMT
Locale String: May 16, 2007 5:25:49 PM
TZ display Name: Coordinated Universal Time
TZ raw offset: 0
as Hong Kong 's time zone is GMT+8 (= CUT +8????), it seems that the AIX
machine produce the wrong GMT time: GMT String: 16 May 2007 17:25:49 GMT
8 hours are added???
time now in Hong Kong is ~17:25, convert to GMT or CUT = 09:25 GMT, am i right?
could anyone tell me whether i am right or wrong?
what should i do to solve the problem??
(PS: i am not the root user of the AIX machine)
thanks
in the window 2003 server, in which the OC4J runs on, the timezone is GMT+8 (Hong Kong)
but in the IBM AIX client, the TZ env. environment is set to "CUT0"
Message was edited by:
lspDear Viru,
I have captured the soap message on the server side using tcpmon.
the tcpmon show the capture time = Thu May 17 11:33:35 CST 2007
POST /XXXXXXXXXXxx HTTP/1.1
Host: hocd4sv06d:8111
Connection: Keep-Alive, TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
SOAPAction: "XXXXXXXXXX"
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: text/xml; charset=UTF-8
Content-length: 1244
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="XXXXXXXX" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1"><wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Username>username</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password><wsse:Nonce>lRl/cmyvlsL20rzxSQy07Q==</wsse:Nonce><wsu:Created ValueType="http://www.w3.org/2001/XMLSchema/dateTime">2007-05-17T11:33:38Z</wsu:Created></wsse:UsernameToken></wsse:Security></env:Header><env:Body><ns0:YYYYYY/></env:Body></env:Envelope>
HTTP/1.1 200 OK
Date: Thu, 17 May 2007 03:28:06 GMT
Server: Oracle Containers for J2EE
Content-Length: 588
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="XXXXXX"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1"/></env:Header><env:Body><ns0:XXXXXXXXXXXX/></env:Body></env:Envelope>
after searching the oracle document (oracle ws security guide), i find that there is
an element called <nonce-config clock-skew = "XX seconds" ..../>, that control how
many seconds in the create time is acceptable.
after i add that element <nonce-config clock-skew = "288100" ..../> (approx = 8 hours),
everything work fine now...but for security, of course, i can't set the value to so large
in production env.
anyone have idea to solve this problem.? -
Web Service Destination Problem
Hi,
I want to try out this simple example of using a Web service in Visual Composer (http://help.sap.com/saphelp_nwce711/helpdata/en/0d/a467e29b3f4b0db27cec840066e5b1/frameset.htm).
After I have created a destination in the NetWeaver Administrator, I tried to search for Web services in the "Search" panel and I got this error message "Could not complete search. Check log for more information".
It was a surprise to me, because it requires just a simple configuration (copy and paste the WSDL URL (http://www.webservicex.net/CurrencyConvertor.asmx?WSDL), but it did not work out.
I wonder where is the problem and could anyone tell me how can I find out the log information? I suppose it is in the NetWeaver Administrator, right?
Thanks.
Regards,
Joon MengHi,
finally I have located the log for the error in the log viewer.
There are two entries:
1.
SystemHandler: search in system: CurrencyConverter ,function expression : * ,object expression: null failed. Reason: Could not retrieve metadata
2.
(VC-DevServer)(error in search WebServicesProvider/CurrencyConverter)<Localization failed: ResourceBundle='com.sap.ds.core.exceptions.DevserverMessages', ID='SystemHandler#search: Could not find the functions metadata', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key SystemHandler#search: Could not find the functions metadata
There is firewall in my corporate network. Could this be the source of the problem?
Anyone has idea about this?
Thanks in advance.
Regards,
Joon Meng
Edited by: Joon Meng Goh on Sep 2, 2009 10:03 AM
Edited by: Joon Meng Goh on Sep 2, 2009 11:18 AM -
DEFAULT_WS_DEST web service destination - problem with production server
Hi All,
I'm getting close to go live for a project which uses a vast number of custom web services to access an Oracle DB backend to supply data to a Portal front end. Many of the applications we have developed are based on Web Dynpro and so we have used adaptive web service models to call the web services. My basis guy and I sat down and configured the DEFAULT_WS_DEST logical web service destination to work correctly in both our DEV and QA systems.
We completed the production build but when testing the Web Dynpro applications I get a dump saying '"DEFAULT_WS_DEST/default" cannot be found'.
Does anyone know why our production system is looking for a connection called "DEFAULT_WS_DEST/default" instead of just "DEFAULT_WS_DEST" as per our DEV and QA system?
Thanks in advance.Ok, I was really hoping for some response at least! Guess no-one has had this problem before?
Here's the exception message:-
Caused by: java.rmi.RemoteException: Error while processing document security. The error was class com.sap.engine.frame.core.configuration.NameNotFoundException A configuration with the path
"webservices/proxies/sap.com/DynamicWSProxies/DEFAULT_WS_DEST/default" does not exist.. See trace entry [no trace for com.sap.security.core.client.ws.DeployableSecurityProtocol (severity above PATH)].;
nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: Error while processing document security. The error was class
com.sap.engine.frame.core.configuration.NameNotFoundException A configuration with the path "webservices/proxies/sap.com/DynamicWSProxies/DEFAULT_WS_DEST/default" does not exist.
If anyone has any suggestions at all I'd be very grateful. As mentioned, the DEFAULT_WS_DEST configuration does exist and it works perfectly in both DEV and QA but not PROD.
Thanks,
Gareth. -
Axis Client Web Service call problem: java.io.IOException: Stream closed
Hi, I tried to call a webservice from Axis Client, and I encounter the following error. Do you guys have any idea what actually happens?
Please help, I am newbie in web services.
==============Root Cause===============
AxisFault
faultCode: { h t t p : / / schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: Stream closed
faultActor:
faultNode:
faultDetail:
{h t t p : / / xml.apache.org/axis/}stackTrace:java.io.IOException: Stream closed
at java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)
at java.io.BufferedInputStream.read(BufferedInputStream.java:270)
at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(HttpMethodBase.java:688)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString(HttpMethodBase.java:796)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:224)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
{h t t p : / / xml.apache.org/axis/}hostname:compname
java.io.IOException: Stream closed
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:301)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.io.IOException: Stream closed
at java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)
at java.io.BufferedInputStream.read(BufferedInputStream.java:270)
at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(HttpMethodBase.java:688)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString(HttpMethodBase.java:796)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:224)
... 17 more I am calling through proxy, the setting is as follows:
System.setProperty("https.proxyHost", [proxyname here]);
System.setProperty("https.proxyPort", [proxyport here]);
System.setProperty("http.proxyHost", [proxyname here]);
System.setProperty("http.proxyPort", [proxyport here]);Are there any problems showing up in the server's log?
-
Hi All,
I have been unsuccessfully trying since 5 days to do something very trivial. I want to create a web service out of POJO whose methods return an array of complex objects.
I could successfully write the web service with method signature returning a string, int, a complex object (For ex: a POJO object named ISSUE with ID and Description variables).
However I am not able to call method with a return type of array of complex object types (For ex: Issue[] i.e. Array of issue objects as described above). I have tried standalone and deployable proxy methods to test the web service.
Web Service Code
================
public Issue[] returnComplexArray() {
Issue iss[]=new Issue[2];
for (int i=0; i<iss.length; i++){
iss<i>.setIssueDescription(" comp description "+i);
return iss;
Client code
===========
System.out.println(" -
return complex array");
System.out.println(doc.returnComplexArray());
System.out.println(" end complex obj array");
Error stack Trace
javax.xml.rpc.soap.SOAPFaultException: java.lang.NullPointerException
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildFaultException(MimeHttpBinding.java:657)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processRpcFault(MimeHttpBinding.java:691)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1306)
at com.kla.testingrpc.Config1BindingStub.returnComplexArray(Config1BindingStub.java:189)
at TestSuiteRPCToRPC.main(TestSuiteRPCToRPC.java:79)
It appears to me that the call is never going to server. It fails at client only. I don't understand the problem.
I have observed other problems too.
A method with Integer object as parameter would get mapped as int object when using RPC style soap binding.
I get the same error as described above for methods returned a complex object with ArrayList or another array as member variable.
Any pointers would be greatly appreciated.
mY ENVIRONMENT
=============
WAS 6.40 sp16
NWDS 2.0.15
Regards
Pallayya BatchuDear sujesh,
System.out.println(doc.returnComplexArray()); is the line where it shows null pointer exception. "doc" is not null. This is the client call.
There are other method calls (For ex:
doc.returnComplexObject() would return me a complex object) which are successful on this object. Hope this clears your doubt.
I belive that the issue I am facing is something to do with framework rather than my code.
Regards
Pallayya batchu -
Web Service calling problem over XI
1- We prepared message uses web service in XI system
2- We generated proxy object in R/3 side.
The proxy object runs properly some locations of network and does not run other locations of network. But SAP R/3 runs properly all locations of network.
We want proxy object run properly all locations of network.
Why is this problem occurs?
Thanks.Hi Amitabha,
<u><b>SOAP Receiver definition in XI Directory Configuration</b></u>
<b>Transport Protocol:</b> HTTP
<b>Message Protocol:</b> SOAP 1.1
<b>Adapter Engine :</b> Integration Server
<b>Target Url:</b> http://brckxidb:82/insBLkapi/inserttblbrc.asmx
<b>Configure User Authentication</b> (checked)
<b>User :</b> username
<b>Password:</b> password
<b>Configure Proxy</b> (Not Checked)
SOAP receiver definition given above has Configure Proxy item not checked.
If I decided use to proxy configure checked, that time must I use brckxidb as proxy host and 82 as port?
Thanks for your help
<b>SOAP Action:</b> http://tempuri.org/GetData -
Web service call problem with complex types input
We are trying to call a web service and pass as parameter
some complex types. When invoking the web service everything works
well on flex side, but on the server side the input parameters we
get from flex are not correct - complex type is removed and the
elements of the complex type are sent. See the example:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:WebService id="ws_id" wsdl="link" useProxy="false"
fault="wsFault(event)">
<mx:operation id="op_id" name="op"
result="wsResult(event)">
<mx:request>
<parameters>
<parameter1>{value1}</parameter1>
<parameter2>{value2}</parameter2>
<parameter3>{value3}</parameter3>
<parameter4>
<parameter4_1>{value4_1}</parameter4_1>
<parameter4_2>{value4_2}</parameter4_2>
<parameter4_3>{value4_3}</parameter4_3>
</parameter4>
</parameters>
</mx:request>
</mx:operation>
</mx:WebService>
</mx:Application>
on server side we get this:
<parameters>
<parameter1>{value1}</parameter1>
<parameter2>{value2}</parameter2>
<parameter3>{value3}</parameter3>
<parameter4_1>{value4_1}</parameter4_1>
<parameter4_2>{value4_2}</parameter4_2>
<parameter4_3>{value4_3}</parameter4_3>
</parameters>
Instead of :
<parameters>
<parameter1>{value1}</parameter1>
<parameter2>{value2}</parameter2>
<parameter3>{value3}</parameter3>
<parameter4>
<parameter4_1>{value4_1}</parameter4_1>
<parameter4_2>{value4_2}</parameter4_2>
<parameter4_3>{value4_3}</parameter4_3>
</parameter4>
</parameters>
Any idea how is it possible to send complex type as web
service input from flex ?Hi,
I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
I followed Susan's blog but I stuck at a point where methos getItem is created.
Can anyone tell me how to get that method for my requirement.
If possible can you guys share your solutions here.
Thanks in advance. -
Report with subreports. Web Service/XML problem. Please help!
Hi,
I have a composite report (main report with 9 subreports). The report uses web service as datasorce and is provided with single xml file containing the schema and all the tables for the main reports and its subreports.
The problem I encounter is that i have to establish a connection for each subreport in order to get it work and it is the same connection. Moreover, I have observed that each time a subreport is drilled there is distinct call to the web service.
So, i end up having a single .rpt file which makes up to 10 unnecessary calls over http just get the same xml data ???
I've tried everything to solve this problem without any success.
Option 1: Removing subreports. Not posible because main report can not handle multiple detail section separately.
Option 2: Using multiple detail section in main report and conditionally suppress rows. Not possible
Option 3: Removing datasource from subreports and pass array variables instead. Not posible
Option 4: Remove subreports and use crosstabs in main report. Not posible
Any ideas?
Please I would greatly appreciate any input, I am getting quite desperate about this.
Thank you very much.Subreports make their own data connection, the reason why subreports are used for other data sources.
Post to the Report Design forum to help on redesigning the report -
hi all,
I am publishling the BC4J Component(Application module) as a webservice. The particular web service method will be as follows. The method is returning the element object.
public Element getEmp(String searchString,String selectedItem, int pageNoInput)
return (Element)hits.writeXML(1,Row.XML_OPT_LIMIT_RANGE);
I am securing the web service by the instructions which are given in the following link
http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html
Then i am creating the proxy client. when i run the proxy client it gives me the following exception
javax.xml.rpc.soap.SOAPFaultException: SOAP must understand error: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:553)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at aptuitclient.runtime.ReviewProtocolAppModuleServiceSoapHttp_Stub.getEmp(ReviewProtocolAppModuleServiceSoapHttp_Stub.java:91)
at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.getEmp(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:58)
at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.main(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:44)
When i am removing the security for the web service it is giving the Element object.
The Problem is when i am securing the web service it is giving the above said exception.
Please help me regarding this... this is very urgent...
rgds
ParameswaranHello,
When you are using WS-Security you need to secure the client too. So in your case the client is the ADF Data Control.
The way you should configure your data control is documented here:
- Web Services Security and ADF Data Control
Regards
Tugdual Grall
Maybe you are looking for
-
IE running under XP can't handle multiple SWF files, Why?
I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page. Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file). But more of these files in one page will stop
-
Save report painter output into internal table
Hi, i have created a report painter for vendor aging report. got output in drill down format. i need to show the data in smartform as well. so need to save the report painter output into an internal table. can anyone please help me resolving this.
-
Infragistics gridview control sorts in Google Chrome and Firefox but not in IE11
I have an Infragistics webdatagrid control on my website homepage that displays few information in form of rows. The code is as follows <asp:Panel ID="Panel" runat="server"> <ig:WebDataGrid ID="UltraWebGrid" runat="server" oninitializerow="UltraWebGr
-
How to pass runtime parameters to MySQL Query from xMII server
Please can anybody help in How to pass runtime parameters to Orcle Query from xMII server
-
There is no Podcast tab under library when i go into iTunes
There's alot of podcasts i would like to download but everytime i go into iTunes there's never a podcast tab under the word Library.