Developing Web Services with TeleAtlas + custom data.
A client has some TeleAltas data + own data and would like to develop some Web Services. Initially some WMS and WFS, then Geocoding + Inverse and maybe some routing. I see 2 options:
1. Try and get the data into the format required by the Oracle OpenLS GeoCoding + Routing Functions.
2. Design a custom data model and develop all the functions from scratch.
I'm inclined towards the second option.
Any feedback will be gratefully received.
In my experience, the Oracle Spatial Geocoder is very well done, and support for it is excellent.
I do not know how easy/difficult it will be to convert TA data into a format consumable by the Oracle geocoder.
I do know that NAVTEQ (the company I work for) ships data out-of-the-box for the Oracle Geocoder and Router (as well as mapping and analysis).
Dan Abugov
Similar Messages
-
What is needed to develop web services with DI Server using C #?
Hi,
What is needed to develop web service using DI Service ad C#?
Does anyone have any examples?
thanks,
WillianLogin C# sample
u2018 Create Service WebReference
LoginWebRef.LoginService loginService = new LoginWebRef.LoginService();
// service command login call
string sessionID = login.Login(
"localhost",
"COM_OBS_AUT_TEST",
LoginWebRef.LoginDatabaseType.dst_MSSQL2005, true,
"sa", "xx",
"manager", "manager",
LoginWebRef.LoginLanguage.ln_English, true,
"localhost:30000");
Business Partners add C# sample.
// Create Service WebReference
BPWebRef.BusinessPartnersService bpsService = new
BPWebRef.BusinessPartnersService();
// MsgHeader class
BPWebRef.MsgHeader msgheader = new BPWebRef.MsgHeader();
msgheader.SessionID = DIServerSessionID;
msgheader.ServiceName = MsgHeaderServiceName.BusinessPartnersService;
msgheader.ServiceNameSpecified = true;
bpsService.MsgHeaderValue = msgHeader;
// fill business partner class
BPWebRef.BusinessPartner bp = new BPWebRef.BusinessPartner();
bp.CardCode = "MyBPCardCode";
u2026
// service command call
BPWebRef.BusinessPartnerParams bpParams = bpsService.Add(bp); -
Fail to create web service with user-defined data type using jwsc Ant task!
Hello every body!
I used JAXWS to create WSDL from a jws file.
This is my jws:
package ws;
import javax.jws.WebService;
import javax.jws.WebMethod;
import ws.MyDataType;
*@WebService*
*public class MyWebService {*
public MyWebService()
*@WebMethod*
public MyDataType MyWebMethod(MyDataType mdt)
*// mdt.setS("I got it!");*
return mdt;
and this is my data type:
package ws;
*public class MyDataType {*
String s;
public MyDataType()
*public String getS() {*
return s;
*public void setS(String s) {*
this.s = s;
and this is my Ant build.xml
*<project default="all">*
*<property name="weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/>*
*<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">*
*<classpath>*
*<path id="weblogic.classpath">*
*<pathelement path="WEBLOGIC_HOME"/>*
*<fileset dir="${weblogic.jar.classpath}">*
*<include name="weblogic.jar"/>*
*</fileset>*
*</path>*
*</classpath>*
*</taskdef>*
*<target name="all" depends="clean,build-service"/>*
*<target name="clean">*
*<delete dir="output"/>*
*</target>*
*<target name="build-service">*
*<!--add jwsc and related tasks here -->*
*<jwsc srcdir="" destdir="wsoutput">*
*<jws file="MyWebService.java" type="JAXWS"/>*
*</jwsc>*
*</target>*
*<!--<target name="deploy"> --><!--add wldeploy task here --><!-- </target>-->*
*</project>*
I run the Ant task but I get this error:
Buildfile: build.xml
clean:
build-service:
[jwsc] JWS: processing module /MyWebService
[jwsc] Parsing source files
[jwsc] Parsing source files
[jwsc] 1 JWS files being processed for module /MyWebService
*[jwsc] [JAM] Warning: failed to resolve class MyDataType*
[jwsc] JWS: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java Validated.
[jwsc] Processing 1 JAX-WS web services...
*[jwsc] error: Could not get TypeDeclaration for: MyDataType in apt round: 1*..........
BUILD FAILED
C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
19: weblogic.wsee.tools.WsBuildException: Error processing JAX-WS web services
Please help me to solve this issue.
Thank you,
MojirThank u very much Jay SenSharma this was helpful
and thank u sandeep_singh this is the answer,
I find another answer too :
adding my class files to the path remove the error:
<project default="all">
<property name="weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/>
<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">
<classpath>
<path id="my.path">
<pathelement path="D:/Projects/bea103/jdk160_05/lib/tools.jar"/>
<pathelement path="D:/Projects/bea103/wlserver_10.3/server/lib/weblogic.jar"/>
*<pathelement path="D:/Projects/LifeInsurance Project Original/BusinessModule/classes/"/>* adding this line solved my problem.
<pathelement path="${java.class.path}"/>
</path>
<path id="weblogic.classpath">
<pathelement path="WEBLOGIC_HOME"/>
<fileset dir="${weblogic.jar.classpath}">
<include name="weblogic.jar"/>
</fileset>
</path>
</classpath>
</taskdef>
<target name="all" depends="clean,build-service"/>
<target name="clean">
<delete dir="output"/>
</target>
<target name="build-service">
<jwsc sourcepath="mytype" classpathref="my.path" debug="true" srcdir="" destdir="wsoutput">
<jws file="NegotiationService.java" generatewsdl="true" type="JAXWS"/>
</jwsc>
</target>
</project>
Thank u very much,
Mojir -
How to create a web services with Developer Studio?
hi all,
I would like to know how can I create a Web Services with Developer Studio 7.0, but a try because I could not publish it to consume.
thanks!Thanks for your answers
Web Services try when I get the following error:
http://img386.imageshack.us/my.php?image=errorms9.jpg
<--Localization failed: ResourceBundle='com.sap.caf.rt.resources.CAFExceptionResources',
ID='MMR_BO_NOTFOUND', Arguments: ['Prueba2Service']-->
I do not know what the cause of error
thanks -
Web Service with Complex Results and Flex
I have created a Enterprise Java Bean that has one "test" method that returns a String[]. I have compiled, deployed and registered this bean in Sun's Application Server 8.1. I am using NetBeans 5.0 to develop this project.
I try to load this web service into Flex and I get a fault thrown: TypeError: Error #1034: Type Coercion failed: cannot convert []@29e5d06 to XMLList. I have set the returnType in Flex as "e4X.". Do I need to do this in my webservice.
Any help would be appreciated.HI Andrea,
I think with present netweaver developer studio , we can create Web services with end points as simple data types in java and the array of that simple data types.
not sure whether it support our own custom developed classes as end points.
just go through these links.
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/af60f2e04d0848888675a800623a81/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/af60f2e04d0848888675a800623a81/frameset.htm
from this we will get Restrictions for WS Endpoints.
Regards
Kishor Gopinathan -
Web service with complex java type
Hi,
I create a web service method with String o with Array of Strings without problem. Now I nedd to create a ws that return a table, so I create a class like this:
public class User {
private String Name;
private String.Surname;
public void setName(String setName){
Name= setName;
public void setSurname(String setSurname){
Surname=setSurname;
In my ws class I use this object:
public User[] getUser(String a){
User[] user = new User[10];
for (int i=0;i<10;i++){
User<i>.setName("aaa");
User<i>.setSurname("bbb");
return user;
When in WebService Perspective I try to create my ws in wizard mode I see method getUser but I can't check it
Where is error?
Thanks
AndreaHI Andrea,
I think with present netweaver developer studio , we can create Web services with end points as simple data types in java and the array of that simple data types.
not sure whether it support our own custom developed classes as end points.
just go through these links.
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/af60f2e04d0848888675a800623a81/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/af60f2e04d0848888675a800623a81/frameset.htm
from this we will get Restrictions for WS Endpoints.
Regards
Kishor Gopinathan -
Calling Reporting Services Web Service with jQuery possible?
Hi,
is it possible to call the Reporting Services Web Service with jQuery? If yes, can someone post me a small example?
Background:
My plan is to create a html with a form which is also uploaded then into the reportserver. I open this html later by clicking a link in a report (with gotoURL open.window). The report opens the html inclusive the overtaken of some additional parameters
(reportname, reportdescription). These parameters I will use in the html-form as defaultvalues for the corresponding input-text-fields. Now the user can make some changes (i.e. the decription). With a click on a button I will send the new description to
the Reporting Services Web Service by using the SetProperties method, closing the html-window and reload the report. Important is that I want to upload the html also into the reportserver itself.
I have already found how to consume a web service via jQuery but with the Reporting Services Web Service I did not get it running in my tests.
I have referenced to the following jQuery.js: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
Here you can see my tests I made with the results:
$.ajax({
type: 'POST',
url: 'http://<..>/ReportServer/ReportService2010.asmx/ListChildren',
data: {'ItemPath':'/','Recursive':false},
complete: function(xData, status) {
$('p').html($(xData.responseXML).text()); // result
$("#divStatus").text( status ); // status }
I got a NULL response with Status success. But where are the items?
Another test which should response only one value was that:
$.ajax({
type: "POST",
contentType: "text/xml; charset=utf-8",
url: "http://<..>/ReportServer/ReportService2010.asmx/GetItemType",
data: {"Item":"/Development"}, // Development is a Folder in my Reportserver-Root
dataType: "xml",
success: function (msg) {
$("#divResult").html(msg.responseXML);
error: function (data, status, error) {
$("#divResult").html("WebSerivce unreachable<br> <br>" + data.responseXML + "<br> <br>(" + error + ")");
Here I got an [object Error]
And here my last test:
var soapMessage = '<?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:Body>\
<GetItemType xmlns="http://www.microsoft.com/sql/ReportingServer">\
<ItemPath>/Development</ItemPath>\
</GetItemType>\
</soap:Body>\
</soap:Envelope>';
$.ajax({
type: "POST",
contentType: "text/xml; charset=utf-8",
url: http://<..>/ReportServer/ReportService2010.asmx?wsdl,
data: soapMessage,
dataType: "xml",
success: processSuccess,
error: processError
function processSuccess(data, status, req) {
if (status == "success")
$("#response").text($(req.responseXML).find("Type").text());
function processError(data, status, req) {
alert(req.responseText + " " + status);
Here I got an "Undefined error"
Can anyone help me?
Thanks
René IllnerHi Rene,
I have one vbscript class to call web services. May be if you need you can use it.
dim ws
set ws = new webservice
ws.url = "http://servername/ReportServer/ReportService2010.asmx"
ws.method = "MethodName"
ws.parameters.Add "Parameter1", "Param1 Desc.."
ws.parameters.Add "Parameter2","[email protected].."
ws.execute
set ws = nothing
'------web service calling class
class WebService
public Url
public Method
public Response
public Parameters
public function execute()
dim xmlhttp
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "POST", Url & "/" & Method, false
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.send Parameters.toString
response = xmlhttp.responseText
set xmlhttp = nothing
end function
Private Sub Class_Initialize()
Set Parameters = new wsParameters
End Sub
Private Sub Class_Terminate()
Set Parameters = Nothing
End Sub
End class
class wsParameters
public mCol
public function toString()
dim nItem
dim buffer
buffer = ""
for nItem = 1 to Count
buffer = buffer & Item(nItem).toString & "&"
next
if right(buffer,1)="&" then
buffer = left(buffer,len(buffer)-1)
end if
toString = buffer
end function
public sub Clear
set mcol = nothing
Set mCol = CreateObject("Scripting.Dictionary")
end sub
public sub Add(pKey,pValue)
dim newParameter
set newParameter = new wsParameter
newParameter.Key = pKey
newParameter.Value = pValue
mCol.Add mCol.count+1, newParameter
set newParameter = nothing
end sub
public function Item(nKey)
set Item=mCol.Item(nKey)
end function
public function ExistsXKey(pKey)
dim nItem
for nItem = 1 to mcol.count
if mCol.Item(nItem).key = pKey then
ExistsXKeyword = true
exit for
end if
next
end function
public sub Remove(nKey)
mCol.Remove(nKey)
end sub
public function Count()
Count=mCol.count
end function
Private Sub Class_Initialize()
Set mCol = CreateObject("Scripting.Dictionary")
End Sub
Private Sub Class_Terminate()
Set mCol = Nothing
End Sub
end class
class wsParameter
public Key
public Value
public function toString()
toString = Key & "=" & Value
end function
end class
Regards, RSingh -
Exporting to Microsoft Excel from a DataView Web Part consuming a Web Service with Parameters
In Sharepoint Designer, I've developed a page displaying a DataView Web Part which consumes an XML Web Service with three parameters. These parameters are passed in from a simple Form Web Part containing three input fields. I am able to provide default values for the web service so the dataview is initially populated, and when I enter in new parameters, the web service goes back, grabs the requested data and displays in the dataview nice and slick.
The problem I'm having is this: In Internet Explorer 7, when I right-click on the DataView Web Part and select Export to Microsoft Excel, Excel opens up, says "ExternalData_1: Getting Data..." and returns the data from the web service which applies to the default parameter values each and every time, regardless of whether I have changed the parameters on the web page, and contrary to what the DataView Web Part displays on the screen.
Has anyone else run into this, and is there a solution to the problem?
Best regards,
Mark ChristieHi Bullish35,
It's possible to provide single export button and export your 4 dataview webparts. Here's the modified code.
<Script Language="Javascript">
function isIE() // Function to Determine IE or Not
return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
function exportToExcel() // Function to Export the Table Data to Excel.
var isIEBrowser = isIE();
if(isIEBrowser== false)
alert('Please use Internet Explorer for Excel Export Functionality.');
return false;
else
var strTableID1 = "detailsTable1", strTableID2 = "detailsTable2", strTableID3 = "detailsTable3", strTableID4 = "detailsTable4";
var objExcel = new ActiveXObject("Excel.Application");
var objWorkBook = objExcel.Workbooks.Add;
var objWorkSheet = objWorkBook.Worksheets(1);
var detailsTable = document.getElementById(strTableID1);
var intRowIndexGlobal= 0;
for (var intRowIndex=0;intRowIndex<detailsTable1.rows.length;intRowIndex++)
for (var intColumnIndex=0;intColumnIndex<detailsTable1.rows(intRowIndex).cells.length;intColumnIndex++)
if(intColumnIndex != 3)
objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable1.rows(intRowIndex).cells(intColumnIndex).innerText;
intRowIndexGlobal++;
for (var intRowIndex=0;intRowIndex<detailsTable2.rows.length;intRowIndex++)
for (var intColumnIndex=0;intColumnIndex<detailsTable2.rows(intRowIndex).cells.length;intColumnIndex++)
if(intColumnIndex != 3)
objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable2.rows(intRowIndex).cells(intColumnIndex).innerText;
intRowIndexGlobal++;
for (var intRowIndex=0;intRowIndex<detailsTable3.rows.length;intRowIndex++)
for (var intColumnIndex=0;intColumnIndex<detailsTable3.rows(intRowIndex).cells.length;intColumnIndex++)
if(intColumnIndex != 3)
objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable3.rows(intRowIndex).cells(intColumnIndex).innerText;
intRowIndexGlobal++;
for (var intRowIndex=0;intRowIndex<detailsTable4.rows.length;intRowIndex++)
for (var intColumnIndex=0;intColumnIndex<detailsTable4.rows(intRowIndex).cells.length;intColumnIndex++)
if(intColumnIndex != 3)
objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable4.rows(intRowIndex).cells(intColumnIndex).innerText;
intRowIndexGlobal++;
objExcel.Visible = true;
objExcel.UserControl = true;
</Script>
I haven't tested this. But it should work! :)Regards,
Venkatesh R
/* My Code Runs in Visual Studio 2010 */
http://geekswithblogs.net/venkatx5/ -
Web Service with Drop Down Lists for database selections
Hello,
I want to define a Web Service with the JDeveloper which can do the following.
I´ve got a database table with several columns which represents a customer adress and name.
On a WebSite I like to have three Drop Down Lists to search in that table. The first list should include the field "name". When I select a name there the second list should show all streets (field "street") where people with the selected name live. When I select the street the third list should show me the house numbers (field "hn") of the customers with the selected name and street.
What have I to do to define a application, a project and so on?
Many Thanks!Hello,
This question is not directly related to Web Services, since in this case you can consider that the Web Service is your "model" providing data to your view (JSP). One of the question I would like to ask you is: why do you want to use a Web Service to do that? and how you want to deploy this?
In a general manner, if you use Web Service it is to be able to reuse the business logic in other projects, so based on this statement I would create a specific project that will contain you "model" so all your services.
The to consume it from your JSP you have different ways:
- create a Java proxy, or use @WebServiceRef to call the client
- use Javascript to call the service directly from the HTML page, take a look to the Oracle Web Service endpoint page, where you can see some Javascript stub links.
Please give more details about your project and needs and I will try to give you a proper answer.
Regards
Tugdual Grall -
Calling web Service from the Custom Adapter.Is it Possible?
Hi Experts,
I am having requirment in which i have to cal com.sap.aii.mapping.lookup.LookupService for calling web Service from the Custom Adapter.Is it Possible?
Regards,
Rajesh.DHi Rajesh..
Just looking the problem in another angle.. if there is no constraint that you have to use XI specific API to call the web service, why dont you use usual Java API used for calling a web service inside you custom adapter (I have Microsoft background.. donno exactly how it is done in Java,, but in .NET kind of a language it is possible). SInce your adapter is in Java itself and is capable of calling web service.. collect or lookup the data whatever you want and validate...
Just a thought..
VJ -
Issue with calling external web service with authentication details ...
Hi,
I am facing a deployment issue with Oracle ESB. I am trying to call an external Web Service with authentication from ESB SOAP Service. It is working fine with my local ESB version 10.1.3.3.0 Build PCBPEL_10.1.3.3.0_GENERIC_070615.0525; however it is getting an error at our development ESB version 10.1.3.3.1 Build PCBPEL_10.1.3.3.1_GENERIC_RELEASE.
I am getting following error.
An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Server was unable to process request. ---> Object reference not set to an instance of an object.; nested exception is: javax.xml.rpc.soap.SOAPFaultException: Server was unable to process request. ---> Object reference not set to an instance of an object. at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.populateFaultMessage(WSIFOperation_JaxRpc.java:3086) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1728) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1473) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1196) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:867) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:770) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:790) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:208) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:127) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:118) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:95) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1424) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:112) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:307) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispat
Could one of you please help me out to understand why it is happining.
Thanks in advance.
Jyotirmoy.Hi Mahesh,
One you are missing is authentication token or credentials.
Please refer to the following articles.
http://www.cleverworkarounds.com/2014/02/05/tips-for-using-spd-workflows-to-talk-to-3rd-party-web-services/
A Series of articles related to Web Service in SPD Workflow
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 1
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 2
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 3
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 4
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 5
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 6
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 7
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 8
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 9
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 10
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 11
Trials or tribulation?
Inside SharePoint 2013 workflows–Part 12
Please don't forget to mark it answered, if your problem resolved or helpful -
The Best Java Web Services Technology for Developing Web Services
Hi,
I am new to Web services world.
I read the java web services page . there are more than 6 technologies.
JAX-WS,
JAX-RPC,
JAXB,
SAAJ,
JAXP,
WSIT,
XWS-Security
I went through several documents on web services.
I could not get a clear idea of which technolgy to use.
Which Java web service technology will be the best to develop web services independant of language, platform.
or is there any 3rd party implemetations available ? for rapid development of web services.
Could anyone help me !.
Thanks in advance.
Message was edited by:
Siva.PrakashWhich Java web service technology will be the best
to develop web services independant of language,
platform.
Java by nature is a cross-platform language, so if your focus is on the need for portability, the choisce of WS should not be a problem. However, each WS is best suited for paricular uses.
SAAJ, a low-level level API, offers much simplicity, but is not the first choice for programmers, as SOAP (Simple Object Access Protocol)messages need to be constructed piece by piece, making it a quite arduous code to program.
If you are not familiar with XML, your best bet would be to use JAX-RPC (Java API for XML-Remote Procedure Calls), as it hides the underlying detail from the programmer, in terms of SOAP and XML. The shortcoming with RPC-based WS is that it is "restricted to the local programming experience". Another failing is that assumes there is a network path- a reliability concern.
If your program will be contacting other services during downtimes, unlike JAX-RPC, JAXM is quite useful. However, your listing did not mention it, so I wont cover it.
JAXR is a client-side only API that acts as an interface between registries (not referring to JAXP)
I am not famiiar with JAXB, JAXP, WSIT or XWS-Security..
or is there any 3rd party implemetations available ?It depends on what platform you are used to. Assuming you are familiarized with the J2EE platform (now changed to Java EE SDK), the NetBeans IDE (either 5.5, 5.5.1 or the latest editiion) is quite useful. I am using 5.5.1, but have found that it is quite buggy, especially when adding WS operations, a core requirement of a WS. if you will be using to devlop a service for an immediate need, you may find the learning curve to be a bit high, in terms of getting to grips with how to use it. (Download link:
http://www.netbeans.info/downloads/index.php)
The IBM Autonomic IDE (or AIDE), based on the WSDM standard, includes 3 sub-tools, icluding the IBM Manageability Endpoint Builder which, according to their website, allows individuals to build endpoints to allow manageability interface exposure; Manageable Resource Browser and the IBM Manageability Endpoint Simulator. However, I'm not familiar with this IDE. (Download link: http://www.alphaworks.ibm.com/tech/aide/download)
The .NET Framework uses the Visual Studio IDE. For an unbiased comparison of J2EE and the .NET Framework in terms of WS, see http://www.webservicesarchitect.com/content/articles/hanson01.asp.
Apache Axis2, Geronimo and JiBX allows fast development of WS, or so the creators profess.
The PHP environment- you could try NuSPHERE PHPed. According to one website, with it you can develop a web service in under an hour.
I hope this was useful to you.
[Based partly on Topley, K. (2003) [i]Java TM Web Services in a Nutshell: A desktop Quick Reference. 1st ed. California: O�Reilly & Associates, Inc] -
What is the best practice for developing web service?
Hi All,
I'm a newbee to web services...
I was wondering what would be the best approach in developing a web service,
using tools or programmatic approach?
If I use WebLogic Workshop, am I tied to a vendor?
Is it possible for me to develop web services using workshop and deploy in
another app server..?
I would appreciate if somebody could give me a pointer to start.
I have already referred BEA's docs.
I'm still confused on a good starting point on the best approach to develop
protable web services.
Thanks in advance for any inputs.
K KK K-
You have a very valid point on the simplify or complicate matters. If you are
going for clean and not-so-time-centric code, then there are several different
programs and packages out there you can choose from.
Since you are specialized in J2EE, than the Sun package may be what you are looking
for. BEA's classes simplify much of the work you will be doing, but you could
emulate their classes or extend yours above the functions provided in theirs.
It all boils down to how much work are you willing to do.
If you are asking for more detailed, coding 'Design Patterns' to utilize, I would
wait for a few more posts from other folks as my work often requires me to utilize
the tools provided.
Sincerely,
Eric Ballou
"K K" <[email protected]> wrote:
Eric,
Thanks for the response.
I was also looking at Sun's WSDP 1.1, which is more programmatic approach.
Some how, I feel being a J2EE developer, I should go on the direction
of the
programmatic approach.
Using the tools could simplify or complicate things. Also, the Workshop
samples import all weblogic specific packages.
My code looks so dirty with many vendor specific packages being imported.
Could you give me your suggestions for a clean and neat approach?
I would personally prefer to avoid the quick and dirty approach.
Thanks again.
"Eric Ballou" <[email protected]> wrote in message
news:[email protected]...
K K-
The best approach in developing portable web services is knowing whatyou
are
planning on using them for as well as how much is willing to be spent,etc.
BEA's Workshop is portable to other frameworks, but the ease ofintegrating a
developed client or a developed server can very greatly. Even moreof an
issue
is migration from one framework to another. If you choose to developin
Workshop
and your company later deploys .Net solutions, some of your work mayhave
to be
redone unless the company is willing to keep portions of the 'old'system
around
until new versions of the service are available. However, Workshophas
several
ant tools available that would assist you in deploying to other appservers or
even a stand-alone application should you need cross framework abilities.
If you are just starting out in web services, http://www.webservices.org
is a
good place to start checking out vendors in the space.
Sincerely,
Eric Ballou
"K K" <[email protected]> wrote:
Hi All,
I'm a newbee to web services...
I was wondering what would be the best approach in developing a web
service,
using tools or programmatic approach?
If I use WebLogic Workshop, am I tied to a vendor?
Is it possible for me to develop web services using workshop and deploy
in
another app server..?
I would appreciate if somebody could give me a pointer to start.
I have already referred BEA's docs.
I'm still confused on a good starting point on the best approach todevelop
protable web services.
Thanks in advance for any inputs.
K K -
How to create web services with complex objects as parameters
Hi,
Not sure if this is the right place, but...
I'm using Netbeans 5.5 and trying to learn web services.
Creating a simple web service with simple parameters like strings and integers is nice and easy. I'm now trying to take the next step, and create a web service with a more complex schema as a parameter.
I've tried two approaches, and hit dead ends on both:
(1) Define my complex schema as an xsd file, and then create a WSDL file. Creating the schema and saving it in my EFB project works fine; when I try to create a new WSDL file, the IDE gives me a button to import external schemas - which is where the problem is: the Browse simply won't find my newly created schema file.
(2) Define a Java class (in this case, it's a fairly simple example containing a single ArrayList), and then use the IDE to generate a web service from Java. The IDE does this fine, but I now have no idea how to consume or test the web service - I don't know where to look for the WSDL that has presumably been generated, and I'm also a bit iffy over what answers to give the WSDL creator about port names etc.
Ideally, I'd prefer to get approach 1 to work - can someone point me in the direction of a sensible tutorial for these things?
(Happy to carry on using Netbeans 5.5 or to revert to Sun Studio Enterprise, which I was playing with before.)
All help appreciated, Thanks- For NetBeans related questions, nbusers mailing list is more suited. It is often visited by NetBeans experts.
http://www.netbeans.org/community/lists/top.html
...[email protected]
The NetBeans users mailing list. General discussion of NetBeans use, this is the place to ask for help and to help others.... (There is a 'Subscribe' button next to the above that you can use to subscribe to the list).
Can you try posting this question on nbusers list?
- SJSE 8.1 is based on an older version of NB (NB5.0).
You should definitely continue with NetBeans, since all development is now being done in NetBeans; all the major JSE modules have been moved to opensource at netbeans.org and are all being developed there. There are as yet no future plans to work on further releases for JSE.
Please check out http://www.netbeans.org for more details. -
Developing Business Services with ADF BC
Hello all,
I was following the tutorial at http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm#t2s5, which is Developing Business Services with ADF Business Components
AND i was wondering if i could add a custom validation that would: prevent the user from entering a Gender IF the credit limit is greater than 400? Is this possible? If so, could some point me in the right direction
CheersHi,
you have two options:
1. add the validation on the ADF BC model using a method validator. This would compare the two attributes and throw an exception if the business rule is violated
2. Use a ValueChange Listener on the credit limit field (in association with a autosubmit=true setting on the field) to enable the gender field through a Partial Page Refresh. To programmatically refresh a field using PPR, you create a binding of the component to refresh o a managed bean using its binding property. Then you call
AdfFacesContext.getCurrentInstance().addPartialTarget(<component reference here>)
Frank
Maybe you are looking for
-
Workflow notification to several SPM owners
Hello, we are trying to implement SPM using CUP for super user provisioning. In the workflow settings we have set "Super Access Owner" as a approver determinator. For we have several owners for one FF-ID we need all owners to be notified by CUP workf
-
Photoshop CS6 Type tool kills arrow keys
When using the standard type tool, periodically, the keyboard arrow keys will not work. You can manually change your selection point, but not by using the left of right arrow.
-
I want to sort a list of files in reverse order e.g. oldest to newest instead of newest to oldest I seems the ony options are date, name etc.
-
Hi My girlfriend recently bought herself a new MacBook to replace her old, slow an increasingly uncooperative iBook. Having copied across all of her User details, I decided that it would be worth completely erasing it and reinstalling the OS to see i
-
After defining the sales area and document type when i create sales order system gives me as error message as sales area has to be assigned to the document type, I do not want to assign the sales area defined to any specific document type, please let