Using credentials with a web service -- what our my options?
Hi All,
I'm trying to determine what options I have in regards to
setting credential requirements on my web services. The two options
seem to be:
-Basic authentication
-SOAP header authentication.
I see that the WebService class has a "setCredentials"
method, but I haven't had much success with it. Here's the
documentation reference:
http://livedocs.adobe.com/labs/flex/3/langref/mx/rpc/AbstractService.html#setCredentials()
It says: "Set the credentials for the destination accessed by
the service ... Note that services that use a proxy or a
third-party adapter to a remote endpoint will need to
setRemoteCredentials instead."
Great, I'm not using a proxy, so I figured it would work. I
thought I would try it with SOAP header auth. I setup a simple
ASP.NET web service that users SOAP header auth, and decided to
test it out. Attached is my complete MXML (I also tried using SSL).
The Flash player threw the following error:
[MessagingError message='Authentication not supported on
DirectHTTPChannel (no proxy).']
at mx.messaging.channels::DirectHTTPChannel/setCredentials()
at mx.messaging::ChannelSet/setCredentials()
at mx.messaging::MessageAgent/setCredentials()
at mx.rpc::AbstractService/setCredentials()
at SoapHeaderAuthenticatedServicesTest/handleLoad()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::AbstractService/dispatchEvent()
at mx.rpc.soap::WebService/
http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc.wsdl::WSDLLoader/private::checkLoadsOutstanding()
at
mx.rpc.wsdl::WSDLLoader/mx.rpc.wsdl:WSDLLoader::resultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at private::DirectHTTPMessageResponder/completeHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
at [io]
Interesting -- "Authentication not supported on
DirectHTTPChannel (no proxy)" -- but the docs made it sound like
that's precisely when you were to use setCredentials. If using a
proxy, you would use setRemoteCredentials.
So... what's up? How do I use setCredentials? And is it for
use with SOAP header authentication, Basic authentication, or
something else?
quote:
Originally posted by:
pete
...Other times you see operations requiring credentials in
SOAP headers...
Pete
This is what I'm currently pursuing. I did not have much
success with Basic authentication (didn't work at all in IE, and,
as you mentioned, even in browsers where it worked, if the
username/password is wrong, the Flex UI can't intercept the login
failure, and the user gets that ugly login popup).
But, I'm not having much success. Here's what the SOAP
request *should* look like, for my test web service that uses SOAP
headers for authentication. I used a Visual Studio generated proxy
class to make this call, and it returned the expected data from the
web service (i.e., the SOAP authentication worked).
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthHeader xmlns="
http://intranet/WebServices/">
<UserName>TestUser</UserName>
<Password>TestPassword</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<HelloWorld xmlns="
http://intranet/WebServices/"
/>
</soap:Body>
</soap:Envelope>
Now, I want to set this up in Flex as well. Here's what I
tried:
// Called when the WSDL is finished loading
public function handleLoad(event:Event):void{
var qName : QName = new QName( "
http://intranet/WebServices/",
"AuthHeader" );
var authXml : XML = <AuthHeader>
<UserName>TestUser</UserName>
<Password>TestPassword</Password>
</AuthHeader>;
var auth : SOAPHeader = new SOAPHeader( qName, authXml );
service.addHeader(auth);
service.HelloWorld();
No errors are thrown by Flex, however, the SOAP
authentication fails (I get the expected "access denied" response
from the web service). I used Wireshark to see what traffic was
being sent back and forth, and this is what I see for the request
from Flex:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:s="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body>
<tns:HelloWorld xmlns:tns="
http://intranet/WebServices/"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Emphasis mine. Note that the SOAP header is empty -- what's
going on?
Similar Messages
-
Error 2170 when using Xcelsius with a web service
Hi,
I have built a small dashboard that gets data from a web service. When previewing it in XCelsius itself, the data is picked up without problem, but when exporting the file to PPT, Word or PDF, I get Error 2170 which is a connection error.
The Webservice I use a self-built one from a function module in an ECC6.0 system.
In the web (and her in SDN) I have found two solutions:
1) Flash settings. For Flash versions above 9.0, one has to allow connection to external programs. I have tried that but am not sure if I should allow connection for the PPT or PDF or for the .swf file "inside" (which I dont know the name of).
2) Server side. A crossdomain.xml file should be added to the root of the webserver. What folder would that be in the case of an ERP system and could I do that? Additionally: can the be the reason to my problem when the webservice works fine as long as called from within XCelsius?
I would be very grateful for ideas...
ThorbenThorben,
Here is what you need to do
-->Export your visualization to swf
-->Run the Swf, right click on visualization and got to settings.
OR
Click
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
In 3rd Tab (Global Security Settings)
--> Check box "Always Allow"
--> In the Drop down (Edit location... select Add Location
-->Browse the swf file
That is it...now reopen the .swf file, it should not throw error.
Hope this helps
-Anil -
How to Use SOAPArray to Exchanged Data with a Web Service
The method of a prototype Web service I created is defined to take many parameters
and return an object of a user defined class. Furthermore, the user defined class
includes data elements of another user defined class and the Java ArrayList class.
This works with a Java client referencing the WebLogic created client.jar file
but I don't know how well it will work with a non-Java client. In particular,
with Perl which is the language that will be used by the developer who first will
test with the prototype.
In posts to this newsgroup use of "language-specific, generic containers" has
been discouraged and the "language-agnostic" SOAPArray recommended. I have searched
this newgsroup and the Web for examples of how to use a SOAPArray in a Web service
EJB to receive parameters and return results but found none.
Will someone refer me to an example or give an overview of how a Java Web service
EJB running in WebLogic 6.1 would use SOAPArray to get parameter values and return
results?
Also, I would like confirmation that it is best to use SOAPArray to exchange data
with a Web service to achieve the goal of a service accessible by any language.
Thank you.Replies in-line:
How are the structures, e.g. gltrans-workType, defined in the Web service?The structure is made up of nested Java Beans, but this does not mean that the
client for your web service has to be written in Java. The WSDL that I sent contains
everything that a .NET-based (or Perl-based, or Python-based, or VB-based, or
C++ based) Web Service Stack needs to correctly create all the data types in the
web services' signature! That's the beauty of XML Schema! It's programming language
independent :-)
In
other words, what definition in Java resulted in the WSDL statements?The WSDL wasn't produced by WLS 6.1, but it (WLS 6.1) can consume it.
What is the signature of method submitGLTransWorkAsJavaBean() in the
Web service?public void submitGLTransWorkAsJavaBean(GlTransactionsCpyType glTransactionsCpyType)
GlTransactionsCpyType is the outer-most Java Bean. WLS 6.1 does not generate
Java Beans for you, but it will use ones that you defined. See the Java Bean tutorial
on the Javasoft sitem for details on how to create a Java Bean.
Was the WSDL generated using the WL tools for creating a Web service?No.
Conclusion:
You asked for someone to provide you with an example of how to use SOAP array
in a WSDL, which is what the attached file contained :-) What you want to do now
is find a tool that can generate Java Bean code from this WSDL (Apache Axis has
a wsdl2java tool that should work), or create the Java Beans yourself. Afterwards,
create a WLS 6.1 Web Service a expose it for a Perl or .NET client.
Regards,
Mike Wooten
"Jeff Carey" <[email protected]> wrote:
>
Please elaborate.
How are the structures, e.g. gltrans-workType, defined in the Web service?
In
other words, what definition in Java resulted in the WSDL statements?
What is the signature of method submitGLTransWorkAsJavaBean() in the
Web service?
Was the WSDL generated using the WL tools for creating a Web service?
Thank you.
"Michael Wooten" <[email protected]> wrote:
Hi Jeff,
Sounds like a pretty cool prototype :-)
I have attached a WSDL (at the bottom of this post) that contains a<schema>
that
uses a SOAPArray to create an array of a <complexType>.
HTH,
Mike Wooten
"Jeff Carey" <[email protected]> wrote:
The method of a prototype Web service I created is defined to take
many
parameters
and return an object of a user defined class. Furthermore, the user
defined class
includes data elements of another user defined class and the Java ArrayList
class.
This works with a Java client referencing the WebLogic created client.jar
file
but I don't know how well it will work with a non-Java client. Inparticular,
with Perl which is the language that will be used by the developerwho
first will
test with the prototype.
In posts to this newsgroup use of "language-specific, generic containers"
has
been discouraged and the "language-agnostic" SOAPArray recommended.
I have searched
this newgsroup and the Web for examples of how to use a SOAPArray in
a Web service
EJB to receive parameters and return results but found none.
Will someone refer me to an example or give an overview of how a Java
Web service
EJB running in WebLogic 6.1 would use SOAPArray to get parameter values
and return
results?
Also, I would like confirmation that it is best to use SOAPArray toexchange
data
with a Web service to achieve the goal of a service accessible by any
language.
Thank you. -
What stub code does APEX uses when making a web service call ?
What stub code does APEX uses when making a web service call (manual web service reference)
I am using APEX (which was part of the 11g installation).Hi Steve,
Some options for the same issue:
web service time out
How to check for Web Srvice Timeout in ABAP Proxy call
Regards
Vijaya -
Best practice for integrating oracle atg with external web service
Hi All
What is the best practice for integrating oracle atg with external web service? Is it using integration repository or calling the web service directly from the java class using a WS client?
With Thanks & Regards
AbhishekUsing Integration Repository might cause performance overhead based on the operation you are doing, I have never used Integration Repository for 3rd Party integration therefore I am not able to make any comment on this.
Calling directly as a Java Client is an easy approach and you can use ATG component framework to support that by making the endpoint, security credentials etc as configurable properties.
Cheers
R
Edited by: Rajeev_R on Apr 29, 2013 3:49 AM -
Basic auth with RESTful WEb service and Web Service reference
Hi, All,
We have made much progress on getting an application working wtih RESTful web services but now are trying to figure out how to lock down a RESTful Web service while making it available for a particular application.
We are using one of the sample 'emp' table web services that come with Apex 4.2 and are trying to apply Basic Auth to the WEb Service via Weblogic filter defined in the web.xml file. That works fine. I now get challenged when I try to go to :
https://wlogic.edu/apex/bnr/ace/hr/empinfo/
And when I authenticate to that challenge I am able to get the data. (we are usiing LDAP authentication at the Weblogic level)
However, I am not sure how to get same basic authentication to work with the Web Service reference in my application. I see the error message in the application when I try to call that Web Service:
401--Unauthorized<
And I see:
"The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials"
How do I provide the credentials in the Web REference or do I provide credentials in the Application?
Web service works fine if I remove the RESTful web service basic auth from the Web.xml file.
Should we NOT use Weblogic basic auth and instead use basic auth from Workspace RESTful web service definition. If so, how do we implement THAT basic auth in the Web Service definition and in the Web SErvice Reference on the application?
Thanks,
PatWhat I mean is diid you try to use the PL/SQL package for APEX webservice. Here is an example I use (modified and shortened, just to show how much better this is than to use it from the application).
CREATE OR REPLACE PACKAGE webservice_pkg
IS
PROCEDURE create_webservice (
p_id IN NUMBER,
p_message OUT VARCHAR2,
p_workspace IN VARCHAR2 DEFAULT 'MY_WORKSPACE',
p_app_id IN NUMBER DEFAULT v ('APP_ID'),
p_app_session IN VARCHAR2 DEFAULT v ('SESSION'),
p_app_user IN VARCHAR2 DEFAULT v ('APP_USER')
END webservice_pkg;
CREATE OR REPLACE PACKAGE BODY webservice_pkg
IS
PROCEDURE set_credentials (
p_workspace IN VARCHAR2,
p_app_id IN NUMBER,
p_app_session IN VARCHAR2,
p_app_user IN VARCHAR2
IS
v_workspace_id NUMBER;
BEGIN
SELECT workspace_id
INTO v_workspace_id
FROM apex_workspaces
WHERE workspace = p_workspace;
apex_util.set_security_group_id (v_workspace_id);
apex_application.g_flow_id := p_app_id;
apex_application.g_instance := p_app_session;
apex_application.g_user := p_app_user;
END set_credentials;
PROCEDURE create_webservice (
p_id IN NUMBER,
p_message OUT VARCHAR2,
p_workspace IN VARCHAR2 DEFAULT 'MY_WORKSPACE',
p_app_id IN NUMBER DEFAULT v ('APP_ID'),
p_app_session IN VARCHAR2 DEFAULT v ('SESSION'),
p_app_user IN VARCHAR2 DEFAULT v ('APP_USER')
IS
v_envelope VARCHAR2 (32000);
v_server VARCHAR2 (400);
v_url VARCHAR2 (4000);
v_result_url VARCHAR2 (1000);
v_collection_name VARCHAR2 (40) := 'PDF_CARD';
v_message VARCHAR2 (4000);
v_xmltype001 XMLTYPE;
BEGIN
v_url := v_server || '.myserver.net/services/VisitCardCreator?wsdl';
FOR c IN (SELECT *
FROM DUAL)
LOOP
v_envelope :=
'<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" '
|| 'xmlns:bran="http://www.myaddress.com">'
|| CHR (10)
|| '<soapenv:Header/><soapenv:Body>'
|| CHR (10)
|| '<parameter:'
|| 'some_value'
|| '>'
|| CHR (10)
|| '<bran:templateID>'
|| p_id
|| '</bran:templateID>'
|| '</soapenv:Body>'
|| CHR (10)
|| '</soapenv:Envelope>';
END LOOP;
set_credentials (p_workspace, p_app_id, p_app_session, p_app_user);
BEGIN
apex_web_service.make_request
(p_url => v_url,
p_collection_name => v_collection_name,
p_envelope => v_envelope
p_message := 'Some message.';
EXCEPTION
WHEN OTHERS
THEN
v_message :=
v_message
|| '</br>'
|| 'Error running Webservice Request. '
|| SQLERRM;
END;
BEGIN
SELECT v_result_url
|| EXTRACTVALUE (VALUE (t),
'/*/' || 'Return',
'xmlns="http://www.myaddress.com"'
xmltype001
INTO v_result_url,
v_xmltype001
FROM wwv_flow_collections c,
TABLE
(XMLSEQUENCE (EXTRACT (c.xmltype001,
'//' || 'Response',
'xmlns="http://www.myaddress.com"'
) t
WHERE c.collection_name = v_collection_name;
EXCEPTION
WHEN OTHERS
THEN
v_message := v_message || '</br>' || 'Error reading Collection.';
END;
EXCEPTION
WHEN OTHERS
THEN
p_message := v_message || '</br>' || SQLERRM;
END create_webservice;
END webservice_pkg;
/If you use it this way, you will find out what the problem is much faster.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Error "Deserialisation failed" when trying to use BAPI via a web service
I created a web service in BW with the help from the wizard WS_WZD_START. The web service contains
(among others) the RFC BAPI_ODSO_READ_DATA_UC.
The web service runs OK & can be used from the SAP Web Services Navigator.
Now when i try to use the web service from Delphi i get
an error: "Deserialisation failed" (SimpleTransformationFault) "ODSOBJECT erwartet".
The ODSOBJECT parameter is there to be sure.
I saw the same error before in this forum but found no real solution there. I am using BW 6.40 & SP 12.
XML sent:
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
<enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header>
<SOAP-ENV:Body><ns1:BAPI_ODSO_READ_DATA_UC xmlns:ns1='urn:sap-com:document:sap:rfc:functions'>
<DATALAYOUT></DATALAYOUT><INFOOBJECTLIST><item>
<INFOOBJECT>/CIVGM/NUM</INFOOBJECT></item></INFOOBJECTLIST>
<MAXROWS>2</MAXROWS><ODSOBJECT>/CIVGM/BPLO001</ODSOBJECT><ORDERBY></ORDERBY>
<RESULTDATA></RESULTDATA><SELECTIONCRITERIA></SELECTIONCRITERIA><UNICODE>N</UNICODE>
</ns1:BAPI_ODSO_READ_DATA_UC></SOAP-ENV:Body></SOAP-ENV:Envelope>
Answer:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode>
<faultstring xml:lang="en">Deserialisation failed</faultstring>
<detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
<MainName>/1BCDWB/WSS0050825153239449000</MainName>
<ProgName>/1BCDWB/WSS0050825153239449000</ProgName>
<Line>73 </Line>
<Valid>X</Valid>
<MatchFault>
<DescriptionText>Element 'ODSOBJECT' erwartet</DescriptionText>
<TokenType>S</TokenType>
<TokenName>CODEPAGE</TokenName>
<TokenNameSpace>urn:sap-com:document:sap:rfc:functions</TokenNameSpace>
<TokenValue></TokenValue>
</MatchFault><Caller>
<Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
<Method>IF_SXML_PART~DECODE</Method>
<Positions>1 </Positions>
</Caller></n0:SimpleTransformationFault>
</detail></soap-env:Fault>
</soap-env:Body></soap-env:Envelope>
The same error occurs when I take the exact XML that was sent from Web Services Navigator (the XML that worked) and send that from Delphi.
What could be wrong?Hi Simon,
Other thing you can do is compare the HTTP requests (including header) from both Delphi and XMLSPY. I suspect if the SOAP message is same in both case the difference might be in the header. But one thing is certain, WAS can not respond differently for same request, don't you think so ?
Cheers,
Sanjeev -
Problem in Xcelsius with BI Web Services
Hi,
we are working with Xcelsius 2008 when we are consuming the
query_view_data Web Services, the result structures don´t appear
complete. For example in Axis_Info we can´t see the internal fields of
the structure "Chars" ( structure that shows us the characteristics involved in our query).
We are using this method to create the Web Service for our system BI 7.0.
http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1
550b0/content.htm
We don´t know if this is a bug and was resolved or if there are another solutions to send a BW query information to xcelsius ( other Funtion Module for example).
I would appreciate your help.Hi,
the web service is not formatted for Xcelsius. there will be a direct web service - it is planned for the second half of this year (see the roadmap here in the BI area for details). right now you can use Live Office or Query as a Web Service.
ingo
XC, CR and LO Part 1 of 4
/people/ingo.hilgefort/blog/2008/10/03/businessobjects-and-sap-part-1-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
XC, CR and LO Part 2 of 4
/people/ingo.hilgefort/blog/2008/10/07/businessobjects-and-sap-part-2-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
XC, CR and LO Part 3 of 4
/people/ingo.hilgefort/blog/2008/10/07/businessobjects-and-sap-part-3-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
XC, CR and LO Part 4 of 4
/people/ingo.hilgefort/blog/2008/10/10/businessobjects-and-sap-part-4-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
Technical Material
/people/ingo.hilgefort/blog/2008/11/19/businessobjects-integration-with-sap-netweaver-bi--technical-material -
Does ws adapter only work with asynchronous web service?
Hi all,
can you please confirm whether or not ws adapter (PI 7.1) only works with asynchronous web service?
I have created an async. outbound service interface in PI 7.1, generated the client proxy in ECC, created an web service based on the proxy, wrote a test program to call the web service (PI scenario uses ws adapter in the sender CC). Everything works fine.
Then I did the same thing with sync. outbound service interface. I got exception while calling the web service in ECC.
I've heard that ws adapter is designed for async. communication. Does it mean that it won't work with sync. web service?
I haven't seen any official SAP document saying taht ws adapter only works for async. web service. If you have any, can you please share it?
Thanks
JaysonThank you all for your information.
The error I got when calling the proxy with logical port (web service) is:
SOAP:1,007 SRT: Unsupported xstream found: ("HTTP Code 404 : Not Found")
I will debug it to see what exactly happens. And will keep you guys updated.
Just debugged, the error is because the http header's content type is text/html while it should be test/xml. However this type is set by the ws runtime, not by the application. Anybody has an idea about this?
Jayson
Edited by: Jayson on Feb 18, 2009 10:04 AM
Edited by: Jayson on Feb 18, 2009 12:11 PM -
Maintaing state with ejb web services
Hello,
I understand there are no straight way to maintain state with ejb web services. Basically I have a stateful session bean and I would like to maintain state across requests. What is the best/cleanest architecture I can use in order to maintain state with web services?
Any reply appreciated,
Julien.Here's how BEA suggests you do it:
http://e-docs.bea.com/wls/docs81/webserv/design.html#1058330 -
Problem with Oracle Web Service Proxies reusing classes and exceptions
We have an application that have many web services and we're having a really hard time working with Oracle Web Service Proxy. We have many web services that share the same classes for parameters and exceptions. When we generate de proxy classes, it generates a lot of _LiteralSerializer classes. Because I'm reusing the same classes and exceptions it generates the same _LiteralSerializer classes for this classes and they get replaced. For Example
I have classes A and B and Web Services X and Y that use this classes. When I generate the 2 proxies it generates A_LiteralSerializer and B_LiteralSerializer on the 2 proxies and they get replaced and I get "No serlalizers for A class or B class". This problems repeats a lot of times and this problem is a huge risk for our project. We're using JDeveloper 10.1.3.4.
Is there a way to avoid this with Oracle Web Service Proxies?
Regards,
NéstorResolved when I create a deployement profile explicitly.
The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
Thanks
Saikrishna -
Oracle script that was used to confirm the web services working????
I am having major problems with the top 2 web servers and top 3 app servers, which would be the cluster facing our external customers. This is how our our web services are deployed. I used an oracle script that was used to confirm the web services worked when I installed this working with the oracle consultant taken from metalink. I simply edited it for our web services.
Can’t deploy web services. Using a script. 2 work on 2 of the machines. Doesn't always work on third machines. Third web service doesn't work on any of the machines.
Please help, Thank youPlease can you provide more information, its really not much to work with when u just my web server is not working. any log files ...error messages ?
-
How can I use XMLBeans in a Web Services client?
How can I use XMLBeans in a standalone Java client with a Web Service?
I posted the message below earlier in the year, but have not yet been successful
in my
attempts.
regards
Eddie
Hi,
I'm trying to using XMLBeans to send a document to a web service from a standalone
Java client. I'm using the PurchaseOrder (easypo) example document, and the service
expects a parameter of type PurchaseOrderDocument. The client proxy class generated
by WebLogic Workshop, however, expects to send a parameter of type PurchaseOrder.
In the client, I can instantiate a PurchaseOrderDocument, and then obtain a PurchaseOrder
(e.g. pod.getPurchaseOrder() ), but the returned class is not compatible with
the PurchaseOrder type that the client proxy expects.
In a previous attempt (not using Workshop), the client would not compile because
it expected to send a non-abstract class with a public default constructor (presumably
a JAX-RPC requirement), and XMLBeans had generated an interface.
Any help would be greatly appreciated!
thanks & regards
EddieI have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
<script language="JavaScript" type="text/javascript">
function showtext(){
var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
alert(editortext);
</script>
Hope this helps.
Matthew -
Migrating a Eclipse Project to JDeveloper and use it as a web service
Hi Guys,
I have a problem with migrating a Eclipse Project (EP) to JDeveloper. I know there are several threads about the problem out there but none of these fit my needs.
So, here is the problem:
I didn't had any problems migrating EPs to JDev in the past but this project is neither a .jar/.lib nor could I change it to one of those types. The project hase some additional filesto work. These files areare libs and owl-mappings for Jena/Pellet ( [http://jena.sourceforge.net/|http://jena.sourceforge.net/] ).
My porblem is that I don't know who to migrate the project to JDev and then use it as a web service, while the file structure stays the same plus everything is uploaded to Oracle as a web service. Meaning everything has to be included in one java package. Or am i wrong?
The file structure looks like this (from the EP):
src\*.java
owl\*.owl
lib\*.lib
location-mapping.n3
expdt.props
The Libraries aren't a problem. They are all .jar-files but could be easily included in the project (JDev) but I don't know how to handle the other files. Especially the much needed owl files :(
Maybe I'm doing it all wrong. My Goal is to use the EP as a web servies for a business process to enforce rulings and obligations. I'm kinda stumped...
Greetings,
SebastianThank you very much, Shay. It helped regaining overview of the project files. Before all additional files were in the AppFolder.
I got to a point where I (hopefully) only got a problem with the directory matching (which is needed by jena).
Tanks again.
Sebastian -
Hello everyone.
I`m a apple user from Turkey. Lately I have bought an iphone 4S in U.S.A and brought it back to my country. My problem is I can`t use it with my local service provider; because I can`t activate my iphone 4S with the sim kart which I have.
I need help; and asking you what can I do ?
Thank you all for your attention.Actually I had a friend of me to buy it for me. When I got the iphone 4s there were a At&t sim kart in it already.
I can make it unlocked for free ?
Thank you both for your attention.
Maybe you are looking for
-
Handle doc/open event at folder level
Hi, Is there a way to handle doc/open event at the folder level?
-
Bridge cs4 is preventing the use of filters.
I just purchase a new iMac. I installed my adobe ps cs4 that I purchased while using my older mac. Now, however when I open a picture in Bridge to review and then open PS cs4 it will not load my purchased filters for PS cs4. However, if I open pictu
-
Moving to...
hi: im moving to Texas and i want to know de Iphone's (8g) price including taxes. (taxes %)or the apple online shop already include it ($299). thnx c'ya Message was edited by: carlosluna699
-
I cant sync music to my phone, no matter what I have done
I have the latest version of both Itunes and IOS. My phone is not jailbreak at all. I updated my iphone, then I cant sync music into my phone any more. I google it and tried every thing people have said: - Restart the computer - Reinstall itunes - Re
-
I tried a forced reset then tried to log back into Imessage but it still won't let me. What do I do?