Please help, all I have is WSDL, URI and that's it...!
I have a standalone Java application, which needs to call a webservice and several methods on that service. All I have is a WSDL file for the service, and the URI to call it. I have RAD 6, but I haven't done much work with web services. Can someone please tell me what I should be doing? I have generated two objects (a ...BindingImpl) and ...PortType, but not sure how to use them. I understand the principal of setting up a Call and Invoking it - but the WSDL stuff is confusing me!
If you want to take a look at the WSDL then please let me know and I can attach or paste etc. I have been trying (in vain) to use what I know already, i.e. the Call and invoke above, but it's not working (there is no problem with the web service itself).
Many thanks!
Matt
I'm new to web services but I'll provide steps working for me:
0/ Get jwdsp (http://java.sun.com/webservices/jwsdp/)
You need wscompile from that - in dir jaxrpc/bin.
1/ create config , example
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="service.wsdl"
packageName="company.soap.service">
</wsdl>
2/ run wscompile to genrate code :
wscompile.bat -s out -keep -gen config.xml
3/ in *Stub.java set properties:
setProperty(ENDPOINTADDRESS_PROPERTY,"URL");
setProperty(USERNAMEPROPERTY, "login");
setProperty(PASSWORDPROPERTY, "password");
setProperty(SESSIONMAINTAIN_PROPERTY, true);
4/ call the service
company.soap.service.SomeServices_Impl ws = new company.soap.service.SomeServices_Impl();
company.soap.service.SomeServicesPortType wsPort = ws.getSomeWsServicesPort();
String wsResponse = wsPort.ADSLcheck(params);
</configuration>
Similar Messages
-
I have lost my new iPhone. Please help. I have the IMEI no and all the details that comes at the back of the box.
Having the imei won't help you find your phone.
If you setup and enabled find my phone prior to losing it then go to icloud.com
If you didn't set it up - then there nothing you can do.
Call your carrier and let them know, change all your passwords. -
Can someone please help. I have a really old MacBook that is running really slow. I want to wipe everything and reinstall the latest software but don't know how to do this. Also is there a way of keeping Microsoft Office when doing this? Thanks in advance
You do realise that wiping the disk means that everything on the disk is erased. Everything. Photos, music, emails, ...
So the first piece of advice is to make sure you have a back up of everything.
You need the OS disk to reintsall the operating system. You will use that disk first to erase the drive, then to reinstall the OS.
Here's the link for the US. http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
As for MS Office, you will need the original disk that it came on to reinstall it. -
I got a new Mac Pro and I am using my 30 inch cinema display. It has been flickering grey sometimes and then will stay grey and lock up my computer and I have to reboot... this is very annoying..help. I have reset the pram and that seems to help for a bit but then it starts up again...and please don't tell me to check for software updates:)
I got a new Mac Pro and I am using my 30 inch cinema display. It has been flickering grey sometimes and then will stay grey and lock up my computer and I have to reboot... this is very annoying..help. I have reset the pram and that seems to help for a bit but then it starts up again...and please don't tell me to check for software updates:)
-
I restarted my iphone after it wouldnt stop restarting every 5 seconds so i plugged it into i tunes backed it up and restored it but when i did my phone had no data and that back up i made is gone... is there anyway i can get this back please eveything is gone, 1,700 photos 500 contacts all my emails and texts. i have a Time Machine can i restore itunes that way and have it?
I suggest plugging your iPhone into a wall socket, and letting it sit for many hours (while connected to WiFi).
-
Just installed my software on a new mac (second installation). The program functions and windows are all pixilated. I can't work with this! It needs to be crisp quality! There was no installation issues! Please help!
version 10.10.3
Adobe Creative Suite 6
Design & Web Premium
Please please please help me fix this! -
I Hope someone can help me! I have an I-Pad and a mini I- Pad.
Both have identical content, e-mail , etc. How can I or what can be done to make them 2 separate I -Pads so that I can erase the content from one but not the other.
As it is now , if I. delete anything from one,the same is deleted from the other. What action can be performed to make them separate entities.
thank you for your help in this matterHi If you want to you can put one ipad back to factory settings Before you do this in settings turn off find my iPhone Then you can set ipad up as new. But if you use the same Apple ID you will get the sameApps & data back on again. Cheers Brian
-
PRob
The devices do not sync with each other, never did. They sync to a server (iCloud, Google. Yahoo etc).
So which service do you use for your calendars -
Please help. I have an external Iomega drive that I cannot reformat
I recently switched from a 2.4Ghz iMac to a MacBook Pro. I was using a 500GB Iomega external drive as the TimeMachine drive on the iMac, and thought it would be fairly straightforward to restore the backup from this drive on to the PowerBook, but it looks like it (the Iomega) is totally corrupted, so I have basically given up any hope with it, (whenever I plug it in to the MacBook, it causes the whole machine to freeze, and I could only do a hard power down).
Firstly, I tried to use Disk Utility to zero out the data, (from the Macbook Startup disk). No dice.
So then I tried to use Disk Util from the Install disk (holding down C after a hard power down).
It looked like it was going to start erasing the disk, (I selected 'zero out data'), so I left it over night. But again, the same problem.
How would I go about erasing/reformatting the Iomega when it simply causes everything to lock up?
Hoping someone can help.
Thanks.Try it on another machine and see how it behaves. Sounds like the drive may be worse than corrupt - it might simply be unusable.
-
hullo,
does anyone know how to turn off cloud backup?
my ipad has a message on it that says my icloud backup is not happening and i cant use the ipad as everything is frozen. clicking on the ok buttom does nothing!
the ipad is locked, wifi is on it is plugged in -
i cannot switch it off either- the power button will not switch off eitherWelcome to the Apple Support Communities
Hold Sleep and Home buttons until the iPad restarts (about ten seconds), so you will be able to use the device again after having it restarted -
Emergency! Please Help. I have an iPhone 4 with all my pictures from the vacation on it and I plugged into my computer and it sync'ed to my ipod. all of my pictures are gone. How do I get my pictures back?
If all you did was sync your phone, and if you haven't synced again since this happened, you can restore your phone from the backup that was created at the beginning of the sync process (camera roll photos are included in the backup). If you have synced again since this happened this backup has already been overwritten and your photos are lost. Also, if you restored your phone from the backup of your iPod, rather than just synced, then your photos are lost too.
If you have an intact backup that contains these photos, do the following:
Without connecting your phone, open iTunes on your computer and go to Preferences. On the Devices tab check "Prevent...from syncing automatically".
Connect your phone to your computer, right-click on the name of your phone when it appears in iTunes on the left sidebar and select Restore from Backup, choose your most recent backup to restore from.
When complete, you can go back to iTunes>Preferences>Devices and re-enable automatic syncing. -
My iphone 4 is taking forever to sync...I let it sync all night and only completed about 1/4 of of the songs downloaded. Apps seem to be fine. I have tried restoring it and that didn't do anything. Can someone please help?
how many songs are syncing cuz i only have at most 200 or so and it takes a while so it might be how many songs are syncing to the device
-
please help. I have deleted all my photos and videos from my i phone 5 sometime ago and I have just relaised that they are very imortant for me, can I recover them at all. the pictures dates back to some time in June 2013
ozyyy wrote:
Thank you for your reply. I do not think it was connected to internet and saved in I Tunes or I cloud
Sorry... but... No Sync + No Backup = No photos. -
How do I transfer my checked songs from one computer to another - tried exporting library playlist etc but no luck! Please help! I have 26,000 songs - 17,000 are selected and I can't run down the list on my new computer and re-check 17,000 songs! Thanks!
Make a smart playlist of your whole library but only checked songs - #4 on http://support.apple.com/kb/ht1801
Highlight all files in that playlist, then drag to the other drive. This isn't preserving any playlists or whatever, just copying files from one drive to another.
You might want to delete the smart playlist this once you are done because it will probably gobble up resources with that many files. -
I need to download all of my photos from my iPhone 4S and my iPad 2 to my MacBook Air because there is no more storage space available. I want to make sure all my photos are not lost and that they do not return to the original devices because of the cloud. Can someone please help ?
Connect your devices to the computer with the USB cable (one device at a time) and import the photos via iPhoto or Image Capture.
If you have not changed any default settings on your computer, iPhoto will automatically launch when you plug in the device. Then follow the import prompts.
Maybe you are looking for
-
Init w/o data transfer shows Added/Transfrd - 1/1
Hi , Init w/o data transfer load was successful after having applied <i>Note 689964 - ODS object: Switching from a full to delta upload !</i> I have two weird ( nt sure ) issues below : <b>Issue 1</b> On Manage screen I see Added - 1 & Transferred -
-
10.4.6 Update Caused Powerbook & eMac to stop booting up
Very strange problem. I installed 10.4.6 on two different computers at two different times. PowerBook G4 17" and emac G4. Soon thereafter the PowerBook started going into startup ****, that is the gray spinning timer would sit there for several HOURS
-
Only first record in internal table in output
Hi, I have a requirement. I loop at an internal table and that tabl (list_selected_records) records. Loop at list_of_selected_nodes into wa_selected_nodes. node = wa_selected_nodes-node_id. node_level = wa_selected_nodes-node_level. read table ex_lis
-
How do I move pictures from Mac to ipad
How do I move photos from Mac to iPad?
-
Customer details(finding out duplicate customers)
Hello All, I am working on a report in CRM which displays all the details of customers. For that i need to hit the table 'BUT000' which is having 50 millions of records in production. if i write the select it will be performance problem i assume, and