Can XMLBeans validate Web Services Input Parameters in Weblogic8.1?
Hi,
I am very new to XMLBeans and Web Services. From my understanding, schemas can be used to validate an xml document.
However, I would like to find out:
1. Can I validate my web service inputs againest the generated XMLBeans objects/schema, in Weblogic 8.1?
2. How do I validate my input parameters from the web service? My input parameters include enumerations of valid values and also numeric values.
Fyi, the XMLBeans objects were generated from the schema which i created, and my web service is using these XMLBeans objects.
Great Thanks!
This is crazy! Someone must have come across this problem
before.
I've simplified my question and used a much simplier method
from the web service, here goes!
::: Here's my code :::
<cfscript>
webservice = CreateObject("webservice","dummy?wsdl");
webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");
</cfscript>
::: Here's the error :::
Could not perform web service invocation
"doBuildQuoteForItinerary".
Here is the fault returned when invoking the web service
operation:<br> <pre>AxisFault faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode: faultString:
com.raileurope.web.ngserver.InternalErrorException:
java.lang.NullPointerException faultActor: faultNode: faultDetail:
http://xml.apache.org/axis/}hostname:dummy
</pre>
There must be something wrong with how I'm passing in the
parameters. Is it the null string??!?!?
Any help would be great!
Similar Messages
-
Can XMLBeans validate Web Services Input Parameters?
Hi,
I am very new to XMLBeans and Web Services. From my understanding, schemas can be used to validate an xml document.
However, I would like to find out:
1. Can I validate my web service inputs againest the generated XMLBeans objects/schema?
2. How do I validate my input parameters from the web service? My input parameters include enumerations of valid values and also numeric values.
Fyi, the XMLBeans objects were generated from the schema which i created, and my web service is referencing/using these XMLBeans objects to package the results to the calling class/method.
Great Thanks!This is crazy! Someone must have come across this problem
before.
I've simplified my question and used a much simplier method
from the web service, here goes!
::: Here's my code :::
<cfscript>
webservice = CreateObject("webservice","dummy?wsdl");
webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");
</cfscript>
::: Here's the error :::
Could not perform web service invocation
"doBuildQuoteForItinerary".
Here is the fault returned when invoking the web service
operation:<br> <pre>AxisFault faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode: faultString:
com.raileurope.web.ngserver.InternalErrorException:
java.lang.NullPointerException faultActor: faultNode: faultDetail:
http://xml.apache.org/axis/}hostname:dummy
</pre>
There must be something wrong with how I'm passing in the
parameters. Is it the null string??!?!?
Any help would be great! -
Missing Web Service Input Parameters
Hi,
I am creating a form on web services. The source of the webservice is BEPL.
When I register the webservice, I see the in and the out parameters.
Operations
Operation Name process
Input Parameters
Operation Parameter Name Parameter Type
process Data_source string
Data_URI string
Token string
But when I continue to create a form on the service, the next screen shows this message:
* Item Finder
Web Service Input Parameters
no data found
Any idea what may be going on here?
Thanks
-SJHello,
Are you sure it's a public webservice or that you put in the right username/password?
Also if you call the webservice just from an url, does that work for you?
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/ -
How Can I install Web Service on Oracle 11g r1?
How Can I install Web Service on Oracle 11g r1?
Hi,
Is necesary install XDB?
Because i have executed;
select * from dba_registry
where COMP_ID = 'XDB'
Oracle XML Database
Regards -
[Urgent] can not find Web service diagram in new gallery
New Gallery -> Business Tier -> Web services
can not find web services diagram item.
But i read book about 10g there is web services diagram
my version is 10.1.3.3Hi,
I think the book means the WSDL editor that opens when you click on a WSDL file
Frank -
EJB Web Service Interface parameters name changed
Hi, all,
I create a simple Session EJB 3.0 with Web Service interface in Jdeveloper 10.1.3.4. and I deployed it into the embedded OC4J server.
The question is I found that the web service operator parameters is changed to "String_1" (actually the parameter in EJB method is String ss). And I found the WSDL file is also String_1.
How to create the real parameter name in WSDL from EJB Web Service interface? Any help on that?
Best Regards,
Billif you do a lookup for the name "java:comp/env/ejb/queryProc" in the servlet, the deployment descriptor of your web-archive must contain an ejb-reference with the ref-name 'ejb/queryProc'.
-
(266758030) Q(asked by Lalit Sudan): Can WebLogic Workshop Web Services be deployed
on a different Application Server?
A(by Adam Fitzgerald): .jws files are not yet an accepted standard so you can expect
that the WebLogic Workshop Web Services cannot be ported to other Application Servers,
however, it is a general goal to expand the functionality of the Workshop tool for
other App Servers.Just so you'll know Oracle9iAS also includes apache as the HTTP server.
As Suncan said, if you want to use Forms on the Web you need the Forms Server engine, and it comes bundled in Oracle9iAS. You'll save yourself a lot of headache if you just install Oracle9iAS and have everything pre-configured for you thus reducing maintanance costs. -
B210 - have tried resetting defaults . default IP address will not connect to network with auto IP had to set IP addrtess manually something similiar to the properties on the verzion hot spot. can not disable web services - never enabled.
no Primary or secondary DNS server. not sure if this is problem. can print ok thru network.
This question was solved.
View Solution.Hey bobupton!
Try going into the printer's EWS and using Google's public DNS servers (8.8.8.8 and 8.8.4.4). It sounds like you know what you're doing so I skipped a few steps on how to get there but if you need more help with it let me know!
If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
Although I work for HP, my posts and replies are my own opinion and not those of HP. -
Can I deploy web service on APEX server
I have APEX 3.1.2 on 11g database.
I need to pull data from other oracle 9i databases into APEX application. I have created web service on my pl/sql package to pull data from 9i databases and deployed service on my local oc4j instance (within jdeveloper). My APEX app pull data from multiple oracle 9i database. Now I need to move my web service to my dev/test environment.
Can I deploy web service on APEX server? or do I need to deploy on another web server?
I know I can easily pull the data from other oracle 9i databases using DB link. I want to explore Web services option to just to see is it possible to pull data from multiple sources into APEX app using web service running from APEX server?.
Any help on this will be appreciated.
RK Shah
Edited by: RK Shah on Apr 7, 2009 7:27 PMI am in the same situation. Consuming a web service is easy with APEX. But publishing one needs a web server that is more complex than the one that comes with APEX for free.
I am exploring the possibility of building the web service in Jdeveloper as you have. Then I will make a WAR file that I will publish to an apache tomcat J2EE server that another department runs. I believe it will work since all the components required should be in the WAR file.
I am new at this. I will let you know how it works out.
The other possibility is to upgrade the appserver to the full Oracle Fusion server (maybe). This may be expensive and be too much for just a simple web service. But then the publish to application server from jdeveloper is super easy. -
Please help Installed apex 4.1 on Oracle 11g Xe can't create web services
I went to Shared Components > Web Service references to create a web services reference using wsdl.
My webservices are local to my network.
I do not use proxy. Not using UDDI.
I enter my WSDL URL but error message is returned
The WSDL document was unretrievable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application, or a wallet needs to be configured for this instance of Application Express for HTTPS requests
All I see are
Amazon Web Services 3.0
Google API Beta
Q1. How can I register my wsdl url?
Q2. How were amazon and google registered?
Edited by: Oracle Primavera on Oct 4, 2011 5:29 PMEnsure that you can ping the web services server.
Then check whether there is a valid/appropriate acl for the apex_040100 user;
select * from dba_network_acl_privileges where principal like 'APEX%';
Refer to Enable Network Services in Oracle Database 11g in the install manual.
~t -
Validate web service username and password against Oracle EBS
Hi,
We have a requirement to pass username/password to a SOA webservice that needs to be validated against Oracle E-Business Suite (EBS) login credentials. The EBS users are not integrated with SOA Weblogic server. In EBS, the standard PL/SQL procedure FND_WEB_SEC.VALIDATE_LOGIN(user_name, password) can be used for validation. Appreciate if someone can provide input on validating the username and password as part of web service security header using any OWSM policy.
Thanks!I'm guessing that you are trying to call an EBS API and are using FND_WEB_SEC to test that the user account is valid in FND_USER first before executing the API call. In that instance, you'll likely need to use the Oracle Applications Adapter for EBS if you want to authenticate the user through FND_USER.
If you've not purchased that adapter, you could use a simple BPEL process, with a regular database adapter to firstly call the FND_WEB_SEC package to authenticate. Pass the response from eBS into a bpel variable, add a bpel switch based on the outcome of that variable either execute the API call or throw an authentication error if the call failed.
You can wrap all this up into one web service that then calls this bpel process, taking the username and password as as input parameters.
Phil -
Oracle PL/SQL Web service - dynamic parameters... possible?
Oracle 11.2.0.3 - newbie on web services!
Currently we have a pl/sql web service taking in 2 static parameters and returning a varchar2 response.
I was asked today if it's possible for a web service to take in a dynamic set of parameters and return a corresponding set of results. It's as if I need to pass the web service a table with two columns and return a table of one column.
For example:
Input Output
1 2 3
3 4 7
5 6 11output being in XML of course. It is possible?
p.s. I posted this in OC4J also - no response hence the re-post !Parameters relate to procedures. Web Services require XML messages.
Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
Just package up the values into the XML and pass it to the web service.
If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002} -
Web Service - Complex Parameters
Hi, I'm trying to get a specific Web Service working by
calling the appropriate parameters and I can't seem to get it
working properly in Flex.. I have this Web Service working just
fine in Microsoft's InfoPath product. When I call the Web Service
and trace I notice the parameters returned are in the wrong order
and the complex parameter doesn't show the sub tags (MS Infopath
does). Also, the parameters I leave empty return with "[Object
Object]" (MS Infopath doesn't do this). So it looks like flex isn't
doing something right with my Webservice. Here's what I am
passing.. If I'm doing something wrong please let me know.. Any
ideas or opinions are greatly appreciated!
<mx:request>
<Infoprovider></Infoprovider>
<Parameter>
<item>
<Name></Name>
<Value></Value>
</item>
</Parameter>
<Query>ZG_PUR_104E</Query>
<ViewId></ViewId>
</mx:request>Me to, and i use Axis for web services (and WebSphere
WebServices).
And, if you use bind from text input you get [object Object]
in general case
<mx:request>
<value>{entry1.text}</value>
</mx:request>
<mx:TextInput x="23" y="101" text="" id="entry1"/>
if you enter any text at textinput and delete it you DONT get
"[object Object]" at web service....
if you dont enter text you get "[object Object]" at web
service...
if you use variable or other elements its the same.
Any help?
TIA -
Start GP Process from VC using Web Service with parameters
Hi,
II´m trying to instantiate a GP process from a Vc iView using a Web Service; I always used Instantiation via URL but using this method I don´t have any "return" data from GP saying "Ok - The process started succesfully".
The questions are:
1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
Best regards,
Marco.1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
A: Yes. You can send input parameters to the service through WS.
2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
A: Yes. The return message can be added to the WS. It depends on how do designed the WS.
-Ashutosh -
Consume SAP Web service with parameters in Forms using JS
Hi All
I am trying to execute a call to a webservice using javascript from my adobe form .
I can get this working by creating a DataConnection and mapping input fields on the form to the Request structure (XFA method) .
But when I use JS, i cannot get it working while using paramters.
Here is my sample code.
var cUrl = http://XXXXXXX:XXXX.........;
var service = SOAP.connect(cUrl);
var inputVal = {IvMatnr:MATNR.rawValue, Ivlgort:LGORT.rawValue, IvWerks:WERKS.rawValue};
var result = service.ZppTestGetBatchNumbers(inputVal);
//xfa.host.messageBox("Success");
txtResult.rawValue = result;
xfa.connectionSet.<DataConnectionName>.execute(0);
Any help would be greatly appreciated
Regards,
ArMenHi,
Instead of using parameters, I am now using hidden text fields on the foem which I have bound to the web service call.
This is a work around that is working fine for me..
Cheers..
Maybe you are looking for
-
Mid 2010 Macbook Pro to a Samsung Tv. (Mode not supported)
Hi, I have a macbook pro mid 2010, when connected to an external tv, i get the mirroring option, however when i uncheck the mirroring option (cause i need 2 desktops screen instead of one), my external monitor shows " Mode not supported ". I have a s
-
Unable to install itunes error 7 and windows error 193
I could not update my itunes. I have Windows 7. I got an error 7 and windows error 193. I followed itunes Microsoft.Net fix but it did not work. I get a message to reinstall. Itunes is successfully installed. But then there is a message that I need t
-
Connecting a new 1080p Apple TV to Component TV
Just purchased a new 1080p Apple TV and want to connect it to my older plasma TV with component inputs. I purchased one of these, http://www.monoprice.com/products/product.asp?c_id=101&cp_id=10114&cs_id=1011410 &p_id=8125&seq=1&format=2, to do the co
-
my printer 6500 office jet says ink system failure help??
-
Data access through the OLAP API
We have created a number of Cubes from the AWM, and access the cubes from a web based application through the OLAP API. The cubes have both base measures and custom measures. Custom Measures are computed by creating the source object for given Formul