Customize -java-wsdl-mapping.xml with EJB3 web service
Using OC4J 10.1.3, I have an EJB that I am exposing as a web service using JSR-181 annotations. Is it possible to customize the generated <ServiceName>-java-wsdl-mapping.xml file? I tried putting my own version in META-INF/ of my ejb jar, but it didn't seem to pick up on it.
I was told the product manager and/or developers from Oracle watched this board. Doesn't anyone have a response to this?
Similar Messages
-
Java-wsdl-mapping file with incorrect case
Hi. We're working with JDeveloper 10.1.3.1 preview and have encountered what I believe to be a bug. We have a schema with element names that are mixed case (such as FirstName). We are trying to use JAXB to create our classes and then wrap it as a web service. The problem is, the WSDL and java-wsdl-mapping file references the element names as firstName rather than FirstName.
In experimenting, I've learned that if I create the WSDL and schema first and "Create Java Project from WSDL" that it creates a java-wsdl-mapping file with the case preserved. However the first time I go into the web services properties dialog and click OK, it re-creates these files with the case changed again.
Please advise if this is expected behavior...although I don't see how it could be since it is inconsistent.
Thanks very much,
Richard DavisI was told the product manager and/or developers from Oracle watched this board. Doesn't anyone have a response to this?
-
Problem with CFMX web service function return
I made a post yesterday about a web service function I was
writing, as it turns out my post was extremly incorrect for my
problem. With this web service function I can return an array just
fine, I can return one instance of an object just fine, however,
when I try to return an array of the object I keep getting the
error:
Could not perform web service invocation "SelectGames"
because AxisFault faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
exception is: coldfusion.xml.rpc.CFCInvocationException:
[java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
have been modified. Please refresh your web service client.]];
nested exception is: coldfusion.xml.rpc.CFCInvocationException:
[org.apache.axis.AxisFault : ; nested exception is:
coldfusion.xml.rpc.CFCInvocationException:
[java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
have been modified. Please refresh your web service client.]]
faultActor: faultNode: faultDetail: {
http://xml.apache.org/axis/}stackTrace:
AxisFault faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
exception is: coldfusion.xml.rpc.CFCInvocationException:
[java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
have been modifie..
which basically means that the CF server needs restarted.
However if I restart the CF server, no matter how many times I am
still getting this error. If I change up my web service function to
return just a normal array of integers or strings, or I change it
to return one instance of the arbritrary complex type it all works
just fine. I am still a little new on this subject and any
enlightenment would be great. If anyone has found a way around this
please let me know.
Here is my complex type:
<cfcomponent>
<cfproperty name="Game_id" type="numeric">
<cfproperty name="gameDate" type="date">
<cfproperty name="Starttime" type="string">
<cfproperty name="Place" type="string">
<cfproperty name="Level" type="string">
<cfproperty name="Sport" type="string">
<cfproperty name="Gender" type="string">
<cfproperty name="Opponent" type="string">
<cfproperty name="Type" type="string">
<cfproperty name="Link" type="string">
</cfcomponent>
I loop trhough a query and set a cfobject of the types above,
then I append that object to an array and try t o return the array.
Here is the basics of the loop:
<cfset theArray = arrayNew(1)>
<cfobject component = "games" name = "test>
<cfloop query ...>
<!--- set values to test ---->
<cfset arrayApend(theArray, test)>
</cfquery>
<cfreturn theArray>
my return type is array, I think the problem is I need to
specify the return type to be an array of arbritray complex types
which is impossible to do in CF. Anyone find a way to get around
this?? Any feed back at all would be greatly appreciated.Yes, I have tried it and return type any does not work in
this situation since this function is being consumed by a web
service. It needs to be in the form of an array of arbritrary type
that is defined in a cfc file. Since this is WSDL the returntype
has to be specified to every last bit. -
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. -
How do I send XML to a web service?
I am brand new to Flex. I am trying to write a program that
uses web services to send and receive data. I have gotten it so
that it can receive XML from the web service. However, I also need
to send it, and I am stuck.
I have tried the following code:
<mx:WebService id="MyService"
wsdl="
http://localhost/FlexTest/service1.asmx?WSDL"
useProxy="false"
result="resultHandler(event)">
<!-- Input: XML Document...Output: String -->
<mx:operation
name="HelloPersonAcceptsXmlDocumentReturnsString">
<mx:request>
<personXmlDoc>xmlPerson</personXmlDoc>
</mx:request>
</mx:operation>
<!-- Input: XML Node...Output: String -->
<mx:operation
name="HelloPersonAcceptsXmlNodeReturnsString">
<mx:request>
<personXmlNode>
xmlPerson.Person
</personXmlNode>
</mx:request>
</mx:operation>
<!-- Input: String (XML Format)...Output: String -->
<mx:operation
name="HelloPersonAcceptsXmlStringReturnsString">
<mx:request format="xml">
<personXmlString><p1:Person xmlns:p1="
http://impact-tech.com/schemas/FlexTest"><p1:ID>f1bd45fc-544b-489d-83cf-349d1f9740ec</p1:I D><p1:FirstName>Joe</p1:FirstName><p1:MiddleName>C.</p1:MiddleName><p1:LastName>Blow</p1:L astName><p1:BirthDate>2006-09-11T14:03:04.4755443-04:00</p1:BirthDate><p1:IsMarried>false< /p1:IsMarried><p1:NumChildren>0</p1:NumChildren><p1:NetWorth>100000</p1:NetWorth></p1:Pers on></personXmlString>
<!--<personXmlString>{xmlPerson.toXmlString()}</personXmlString>-->
<!--<personXmlString>{txInput.text}</personXmlString>-->
</mx:request>
</mx:operation>
</mx:WebService>
In the first operation,
"HelloPersonAcceptsXmlDocumentReturnsString", I try to send an XML
object. In the second operation,
"HelloPersonAcceptsXmlNodeReturnsString", I try to send the root
node, xmlPerson.Person. In both cases, what actually gets sent is
literally the text that I put in the <request>node, not the
object that text is referencing. So for the first, "xmlPerson" gets
sent to the target, not the XML doc that it refers to.
In the third operation, I tried three different things, and
two are commented out. I tried to reference the XML object using
the toXmlString() method, but again, it literally sent the text
"xmlPerson.toXmlString()". I tried the curly-brace binding, but
then nothing gets sent to the web service. I also tried building
the actual XML document node by node, with values, but I get an
error from the web service saying it can't be parsed because there
is an illegal character at Line 1, Position1. The only thing which
has worked has been to add an Input Text box, copy-and-paste the
exact same XML structure as I tried to manually build, and then use
binding to the text property of the InputText control. Then it
works fine. But I can't actually do that, it's just for testing.
So my question is how to make a <request> node that is
part of the web service operation that references an object and
sends the value of that object to the web service, not literally
whatever text is typed in that node. I looked at the Web Services
and Data Binding sections of the help, and didn't see any examples
covering this. Everything was far more simplistic with binding to
controls. Can anyone help a newbie, please?I don't understand how this isn't a Flex Builder question,
since it has to do with how Flex Builder interacts with web
services and how objects are used in binding in MXML.
But at any rate, I got this code to work, for future
reference of anyone else looking in this forum:
Declaring a custom class in MXML was key to allow proper
binding:
<CustomClasses:Person id="testPerson" xmlns:local="*"/>
<mx:WebService id="MyService"
wsdl="
http://66.129.123.211/FlexTest/service1.asmx?WSDL"
useProxy="false"
result="resultHandler(event)">
<!-- Input: XML Document...Output: String -->
<mx:operation
name="HelloPersonAcceptsXmlDocumentReturnsString">
<mx:request>
<personXmlDoc>{testPerson.GetXmlDoc()}</personXmlDoc>
</mx:request>
</mx:operation>
</mx:WebService> -
Java client for calling a XI web service
Hello,
does anyone have created a Java client
with Apache Axis? I tried it and it works
for web service which aren't provided by
SAP XI, but if I use to call a XI web service
something went wrong.
The XI web service works. I tested it with
XML Spy.
I think there must be something special with
XI web service.
So anyone got a tutorial/guide for this???
thanks
chrisHola mi nombre es Luis,
Creyendo que eres español te escribo en tal idioma.
He visto que a ti también te devolvía un error de autentificación 401, y que lo subsanaste, pero a mi con la solución que te dieron no me vale, ya que implemento el código que te ofrecieron para arreglarlo y ahora me da un fallo de "Server Error" poniendo en usuario y password, los correspondientes a XI.
+Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay req=new Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay();
wdContext.nodeRequest_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay().bind(req);
req._setUser("username");
req._setPassword("password");+
No sé si es que ese usuario y contraseña son otros distintos.
Si pudieras ayudarme, te lo agradecería.
Un saludo, Luis -
EJB3 Web Service - basic authentication
I have a very simple EJB @WebService in an EJB jar and placed in an EAR. The web service has an @RolesAllowed annotation on a role called WSS_USER.
I have a weblogic-ejb-jar.xml file containing..
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.bea.com/ns/weblogic/10.0" xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd">
<weblogic-enterprise-bean>
<ejb-name>TestWebServiceEJB</ejb-name>
<enable-call-by-reference>True</enable-call-by-reference>
</weblogic-enterprise-bean>
<security-role-assignment>
<role-name>WSS_USER</role-name>
<principal-name>WSS_USER</principal-name>
</security-role-assignment>
</weblogic-ejb-jar>
I have created the correct WSS_USER principal within Weblogic.
If I test the web service using SoapUI I get:
<message>[EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=Test, module=Bedrock.server.services.local.jar, ejb=TestWebServiceEJB, method=test, methodInterface=ServiceEndpoint, signature={}.</message>
How do I get basic authentication working with this web service?
In glassfish I add the following into sun-ejb-jar.xml and it works fine:
<ejb>
<ejb-name>TestWebServiceEJB</ejb-name>
<webservice-endpoint>
<port-component-name>TestWebServiceEJB</port-component-name>
<endpoint-address-uri>ctx/TestWebServiceEJB</endpoint-address-uri>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</webservice-endpoint>
</ejb>
Is there an equivalent in weblogic?
Thanks,
MattI was hoping it could be achieved without weblogic specific annotations?
What I'm after is an example of a simple EJB3 web service in a jar, inside an ear, with no war file.
I'd then like BASIC authentication on that web service.
Something that can be dropped into any app server.
Matt -
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
------------------------------------------------------------------- -
How to create a proxy to retrieve the xml file from web services
Hi Every one,
We have a requirment where we receive a xml file from Kenexa, a third party HR tool using a middleware tool. from SAP side We have to create a proxy to retrieve the xml file from web services by initiating call through middleware tool i used earlier.
these are the steps i intend to follow to accomlish the requirement.
1) middleware tool has to initiate the call to kenexa web services to receive the xml file when it is available.
2) On SAP we need to create a ABAP Proxy service provider to middleware where this file can be received.
Can any one guide me how i can create a proxy to retrieve the xml file from web services by initiating call through other middlewre (its not PI).
Any help would be really great, i am not a ABAP developer, so please help me with this. Thanks.Thank for reply.
The computers are in different locations, but yes it's possible, the users in this enviroment are all local administrator of the machines, and we can distribute the script centrally from the DC automatically
Acrobat use Java, right? I'm not so expert in java, but something about it could not be so difficult to manage.
Do you know some place where i can get some info about JS and acrobat? -
Return XML document through Web Service?
Hello,
Is it possible to return a XML document from a web service?
For example, I have a Oracle Report that outputs in XML format, is it possible to return that through a web service?
Any suggestions or pointers will be most appreciated.
NilanHi Nilan,
You can see a simple example here.,on how to pass and receive XML elements as web service params.
http://otn.oracle.com/sample_code/tech/java/codesnippet/webservices/docservice/content.html
A tutorial on Using Web Services with Oracle9i Reports
http://otn.oracle.com/tech/webservices/htdocs/series/reports/content.html
Regards
Elango. -
XML Beans in Web Services / .xsd compilation
Hello friends -
I've been told of many wonderful things that can be accomplished by using XML
beans in web service style integrations. However, I'm running into trouble actually
getting anything done and was hoping someone could give me a few pointers. I'm
trying to work inside Workshop 8.1 with the BEA server (i.e., not platform)
- Documentation seems to reference the ability to compile an .xsd in order to
get an XML Bean class representing your XML. However, I cannot find anything
telling me how to do this. Is this supported in Workshop?
- I'm only showing some classes referenced in the XML Beans Javadoc area as available
inside my workshop IDE. For example, com.bea.xml.XmlBeans is not available.
Is this a result of me using Server as opposed to the more complete Platform
product?
- Does anyone have a simple example .jws that utilizes a XML bean as an input
or output? If so, I'd love to see it.
Thanks so much.
CMHi,
I thought passing XMLs was supported using SOAP. In this case, the XML data in the SOAP body is type "string" and the namespace of the XML inside separates it from the rest of the SOAP package. Can I do the same with...say... Web Dynpro where the WSDL is used to generate proxy classes. How do I add a namespace in the SOAP header so that I can add the XML in the body?
I propose that life would be much easier if a datatype called XML, or some option before the WSDL is imported to create proxy classes is available which creates a wrapper for adding XML data. Far fetched...but can be done. Whats you opinion?
Regards,
Nirav Mehta -
Download a XML file from Web Services Using Flex
Hi All...
I am new for flex, im developing a windows application using Flex/Air, i have connected the web services with user authentication, now I want to download a xml file using web services in flex,
how can i do this?? please reply...
Thanks in advance
VasanthHi All....
I have done this myself using sample tutorials...
here is the code for your reference guys
plyLoginName = txtEmailIdDownload.text;
var urlpath:String = new String("your url p?LoginName=");
urlpath = new String(urlpath.concat(plyLoginName));
urlpath = new String(urlpath.concat("&PlayerType="));
urlpath = new String(urlpath.concat(chkseasonvalue));
Alert.show(urlpath);
var request:URLRequest = new URLRequest(urlpath)
var fileRef:FileReference = new FileReference();
fileRef.download(request,"yourfilename.xml");
Alert.show('File downloaded Successfully');
txtEmailIdDownload.text = "";
txtPWDownload.text = "";
thanks
Vasanth -
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 -
Slow attachment upload with Exchange Web Services (Outlook 2011 for Mac?)
We're experiencing slow attachment upload with Exchange Web Services versus MAPI, OWA, and Outlook Anywhere. I'm not totally certain that it is Exchange Web Services or specifically Outlook 2011 for Mac. I attempted to test with the Mac Mail
App, but it makes it difficult to tell when the attachment has been uploaded and the file has been sent. Here's what we're seeing (10mb file):
MAPI / RPC/HTTPS / OWA: 10-15 seconds upload time
Exchange Web Services (Outlook 2011 for Mac): 60-90 seconds upload time
Thoughts? Any idea why we would see such a drastic difference in attachment upload time? Any way to prove definitively that it is Exchange Web Services vs. Outlook 2011 for Mac? We've tried it from multiple locations with multiple different machines,
and although the upload times vary (some locations have more bandwidth etc) the ratios remain similar.
Hi ,
Does all the user occurred the issue ?
If only special user, I recommend you do the following steps and test:
1.Remove and re-add the email account and check if this helps to resolve the issue.
To remove and add the email accounts:
Open Outlook > GO to Tools > Accounts > Click on "Minus" symbol to remove and "Plus" to add an Email account.
2.Creating a new user profile:
http://support.microsoft.com/kb/2439218/
3. If the issue persists, rebuild the data base and check the results:
http://support.microsoft.com/kb/2360509
You can also post it on Office for MAC forum to get special support about the difference between Outlook and Outlook for MAC.
http://www.microsoft.com/mac/support
Wendy Liu
TechNet Community Support -
Problem with RESTful web service
I am running into a problem with Flex Web Services (REST) in trying to get the proper format returned. I can see that the HTTP header is set to
Accept: */*;
rather than
Accept: application/xml
when sending the request. The web service was generated via the web services HTTP data services wizard. I edited it to set the resultFormat to xml
// Constructor
public function _Super_UsersService()
// initialize service control
_serviceControl = new mx.rpc.http.HTTPMultiService();
var operations:Array = new Array();
var operation:mx.rpc.http.Operation;
var argsArray:Array;
operation = new mx.rpc.http.Operation(null, "getUsers");
operation.url = "http://localhost:8888/users";
operation.contentType = "";
operation.method = "GET";
operation.resultFormat = "xml";
//operation.serializationFilter = serializer0;
operation.properties = new Object();
operation.properties["xPath"] = "/";
operation.resultType = valueObjects.Users;
operations.push(operation);
_serviceControl.operationList = operations;
model_internal::initialize();
How does one configure the accept header?Hi,
I have posted a simple application with the RESTful reference:
http://apex.oracle.com/pls/apex/f?p=13758
I can give you full privileges on this so you can look at the WEB service reference. Shall I send to you separately for login user?
It is using the RESTful service: http://apex.oracle.com/pls/apex/nd_pat_miller/demo/employee/{deptno}
This RESTful service tests fine when I test from within the RESTful web service module of the Workspace.
I based this on the Video demo tutorial for RESTful web service that Oracle published for 4.2 release. The video seemed to exclude the {deptno} in the URL but when I try that, it doesn't work either.
This is the error I am getting when I run this on my Apex environment: (it, of course, will not run the web service in the apex.oracle.com environment)
class="statusMessage">Bad Request</span>
</h3>
</div>
</div>
<div id="xWhiteContentContainer" class="xContentWide">
<div class="xWhiteContent">
<div class="errorPage">
<p>
<ul class="reasons"><li class="badRequestReason"><span class="target" style="display:none;">uri</span><span class="reason">Request path contains unbound parameters: deptno</span></li>
</ul>Thanks,
Pat
Edited by: patfmnd on May 8, 2013 3:33 AM
Maybe you are looking for
-
Can Adobe Photoshop Elements 10 be installed on Mac OS X 10.8 (ML)?
We have had a copy of PE10 sitting around for a while, but never got around to installing it. We are now running Mountain Lion on our 2010 iMac which easily meets the hardware requirements for PE10, but cannot get it to install. The serial is fully
-
IPod Classic won't sync properly?????
I have a 160gb iPod Classic and I'm using a 2.3 GHz Intel Core i5 Macbook Pro, Early 2011, running on Yosemite. So I was using my iPod the other day and it hanged so I reset it like how I normally would by holding the center and menu button but the n
-
Images downsized and converted when exporting to PDF
I have Pagemaker 7.0.1 installed on Virtual XP so that I can help out a family member. Pagemaker's embedded Acrobat 4 was not working properly so I installed my Acrobat 9.0 on Virtual XP. This unfortunately has not solved the problem, which is: My im
-
Server Requirement to run BPM application
Hi All, I have to make an appliacation involving BPM. The current server version right now is Netweaver CE 7.0.14 ( For Production). Can any one please provide the minimum version of the server software to successfully deploy my application.. Thanks
-
Sap hr flexible benefits integration
Hi, Our company is planning to implement SAP HR flexible benefits and benefits are provided by 3rd party flexible benefits provider. My question is how do we integrate between SAP HR and 3rd party benefits provider. The benefits are recording in SAP