Please help...I can't solve this web services error (ConfigException)

Hi
I've got the following error when I try to build document-oriented web services
[clientgen] Generating client jar for WLWSSEApp.ear(SimpleService) ...
[clientgen] weblogic.webservice.server.ConfigException: Could not add parameter
to operation. You must specify either its Java or XML type.
[clientgen] at weblogic.webservice.server.WebServiceFactory.addPart(WebServi
ceFactory.java:1258)
[clientgen] at weblogic.webservice.server.WebServiceFactory.addParamsToMetho
d(WebServiceFactory.java:1211)
[clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperatio
n(WebServiceFactory.java:798)
[clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(W
ebServiceFactory.java:633)
[clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(
WebServiceFactory.java:220)
[clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebSe
rviceRuntime(WSDLGenImpl.java:240)
[clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDL
GenImpl.java:135)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
ntGenFromEAR(ClientGenImpl.java:438)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
ientGenImpl.java:345)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
lientGen(ClientGenTask.java:351)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
cute(ClientGenTask.java:208)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
BUILD FAILED
file:C:/bea/user_projects/domains/examples/build_ws/build.xml:54: weblogic.webservice.tools.build.WSBuildException: Could not add parameter to operation. You mu
st specify either its Java or XML type. - with nested exception:
[weblogic.webservice.server.ConfigException: Could not add parameter to operatio
n. You must specify either its Java or XML type.]
My environment:
- JBuilder X
- Weblogic Platform 8.1
- Windows XP SP2
Here are my steps of implementing web services:
1. Write the Java code for the back-end components that make up the Web Service. Here's the method that handle the operation
public String testName(InputParam test) {
String inputName = test.getName();
System.out.println("Input name:"+inputName);
return "Hello "+inputName;
Here's InputParam:
public class InputParam {
private String name;
public InputParam() {
public String getName() {
return name;
public void setName(String name) {
this.name = name;
2. Since I use JBuilder X I configure everything including handlers chain through web services designers
3. Build project
If nothing goes wrong, I will get generated client jars and a war file with web-services.xml inside.
I have no problem when I implement RPC-style web services.
I got the above error when I implement Document-oriented web services, but
I have no problem when I use String as a parameter instead of InputParam class.
I tried to change some attributes that might be relevant but got no luck.
I've tried using clientgen command line as well but the result was the same.
Below are the guidelines for creating document-oriented web services from the BEA's document that I think I already followed
- The methods that implement each operation of the Web Service can have only one parameter. This single parameter can be of any supported data type. (The Weblogic web services toolkit support simple JavaBean, doesn't it?)
- The methods that implement each operation cannot use out and in-out parameters. (I'm not sure about this one since I got Holder classes after using clientgen. However, there's no <param> tag in web-services.xml.)
I found the old solution from support.bea.com (ID = S-25689), but I don't think my situation is the same. I got the error while building web services...not deploying a web service.
Any answers to this question will be very much appreciated.
George

Quote from: danknuggets11 on 22-December-06, 11:23:06
Reply, Should have mentioned this before, I can't even turn agp on.  I go into SMARTGART it shows AGP off, Fastwrites off.  If I move the AGP settings to 4x, 8x, it says I need to restart to apply. After the restart it just resets it back to off.
get Driver Cleaner and remove curently ATI Drivers.
reboot,
get and install chipset Drivers: http://download.msi.com.tw/support/dvr_exe/mbd_dvr/VIA4in1_MB.zip
reboot,
then get and install ATI Drivers: https://forum-en.msi.com/index.php?topic=102839.msg761297#msg761297

Similar Messages

  • After updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid

    after updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid good money for this mack, I feel calm

    Hi Buterem,
    I'm sorry to hear you are having issues with your MacBook Pro since your recent Yosemite update. I also apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are having intermittent but persistent responsiveness issues with your mouse or trackpad, you may want to try using Activity Monitor to see if these incidents correspond to occupied system resources, especially system memory or CPU. You may find the following article helpful:
    How to use Activity Monitor - Apple Support
    If the entire system hangs or locks up (for example, if the system clock freezes and stops counting up), you may also be experiencing some variety of Kernel Panic. If that is the case, you may also find this article useful:
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Regards,
    - Brenden

  • I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.

    I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.
    I saw the below quote on Adobe forum
    "You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each."
    If i install each application in single single system the system count is more than two. In this case, are we have any license issue? Please advice how the problem will solve?
    If possible please send the advise to my mail id: <Removed by Moderator>
    Thanks
    Uvaraj S

    I already answered that.  If you purchased a Suite then you can only install and activate it on two machines.  Even if you only insdtall one of the applications of that suite, it counts as one activation of the suite.  You cannot take the six or seven different applications that might be in a suite and install and activate them in six or seven different machines... only two machines.
    If your scenario will allow for it, one thing you can do is install the programs on all the different machines and only activate two of the machines at any given time.  If you need to activate a program on a third machine then you need to deactivate on one of the currently activate machines first so that you have an open activation to use again.  I do not remember if there is a limit to the total number of activations you can process for the life of the software.

  • I have windows 8 and I got this error "Adobe Photoshop has stopped working" whenever I start a program. please help. how can I fix this problem? many thanks

    i have windows 8 and I got this error "Adobe Photoshop has stopped working" whenever I start a program. please help. how can I fix this problem? many thanks

    Please read these and proceed accordingly:
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325

  • Please Help! Unable to create a web service.

    Hi all,
    I have created a deployable proxy, a EJB with a stateless session bean, and a enterprise application project with the above ejb added. I add the deployable proxy into ejb, so that i can utilize the interface(web service) provided by the external party. After i implement the code to call the web service from external party in stateless session bean, i should create a web service by right click on session bean>New>Web Service. However, nothing was happened while a pop up window of web service creation wizard should appear. NWDS showed "End Point Doesn't Exist" when i tried to create the web service by File>New>Others>Web Service>Web Service (New VI and WSD).
    Anybody have any idea of it? Your help will be apperciated.
    Warmest Regards,
    Jane

    Hi all,
    I notice that once i implement the interface from deployable proxy, the problem of "SEI doen't exist" appeared.
    Anyone can help pls? anyone encounter the same problem before? It is urgent.
    Thank in advance.
    Warmest Regards,
    Jane

  • Hi I can't purchase in itunes, I don't know the security questions! The email set up to recover is not a real email my daughter set it up please help how can I fix this?

    Hi I can't purchase on itunes as I don't know the security questions, the email to retrieve answers is not a valid email my young daughter set it up wrong please help!

    You won't be able to change the rescue email address until you can answer 2 of your questions, you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down this page to udate your rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • My imessage was working for a few days and now it wont work please help how can i fix this

    my i message worked the first few days after i hooked it up and then it wouldnt work for a day at a time but now its not sending or receving at all and its been about a week how can i fix this??

    Make an appointment at the nearest Apple store and see what they can do for you. Some Apple Stores can replace the screens onsite so that may be an option.
    The damage will not be covered by warranty so you will have to pay to have the phone serviced or replaced entirely.
    ~Lyssa

  • Can you invoke this web service ??

    I'm getting a Java Compiler error when trying to invoke the
    following dummy web service (CF 6 and 7)
    http://neorecormon.saatchi.com.au/stage/Patient.asmx?wsdl
    The WSDL appears to vaildate ok on mgateway. It seems to be a
    CF specifc issue. If anyone can get it going in their CF
    environment please let me know. Assuming there's nothing I can do
    at my end, I'm not sure what advice I could give the developers of
    the web service that might help them overcome what seems to be a
    .Net / Java compatibility issue.
    Any suggestions would be appreciated.

    Works OK here with their HTTP interface (they have SOAP, HTTP
    GET, and HTTP POST). Try, for example, CFHTTP (or just from
    browser):
    http://neorecormon.saatchi.com.au/stage/Patient.asmx/GetPatientList?PhysicianID=1
    Didn't try CFINVOKE since it is not needed here.

  • I want to cancel the iCloud account.Please help.How can I do this?

    Can I get help to close my iCloud account?

    Dankfx wrote:
    In the "iTunes in the Cloud" section, click Turn Off Auto-Renew to the right of iTunes Match.
    Dont forget to do this our you will keep paying for it
    What does iTunes Match have to do wtih this thread?

  • HT1414 i was restore my iphone 5 but last time itune show error (-1) so how can i solve this problem?

    i was restore my iphone 5 but last time itune show error (-1) so how can i solve this problem?

    Error -1 indicates a serious hardware failure.
    Try restoring the device again, try on a different computer.  If the issue continues, take the device to Apple for evaluation and possible replacement.

  • HT3743 I got an error no 1015 ! what does it mean ? and How Can I solve this issue?

    I got an error no 1015 ! what does it mean ? and How Can I solve this issue?

    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    Busted...

  • Web Services Error When running Sample Application

    When I was testing "Create a New Customer" from the Sample application in Oracle's provided free new HTML DB 2.0 environment (just out last night), I got the following error message.
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests.
    I was using my laptop through SBC Yahoo DSL service (dynamic IP address) to test this HTML DB Sample application.
    Any suggestion for this Web Services Error?

    cckung,
    Oracle's IT team has disabled the ability to call web services from htmldb.oracle.com. We are working with them to resolve this, but I don't have an ETA.
    Thanks,
    - Scott -

  • HT5622 my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    Hey nocillado,
    Thanks for using Apple Support Communities.
    It sounds like you have 2 things you want to address. These articles can help you use iCloud with your existing Apple ID.
    Get help activating your iPhone
    http://support.apple.com/kb/ts3424
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using the same Apple ID for Store purchases and iCloud (recommended)
    Have a nice day,
    Mario

  • TS3899 In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    Greetings,
    Questions:
    1. What version of the Mac OS are you running (Apple > About this Mac)?
    2. What version of the iOS are you running (Settings > About)?
    3. Do you use MobileMe/ iCloud or another server based sync solution like Google or Yahoo?
    4. Do other changes to synced information like Address Book content sync successfully back and forth?
    Based on your description it sounds like you have a 1 way sync issue.  Events sync fine between the iOS devices and fine from the computer to the iOS devices but not from the iOS devices to the computer.
    Try:
    Backup your computer and iOS devices before doing anything else:
    http://support.apple.com/kb/HT1427
    http://support.apple.com/kb/ht1766
    Ensure all the devices in use are fully up to date: Apple > Software Update / Settings > General > Software Update
    Make separate backups of critical data:
    Backup your computer Addressbook: http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    Backup your computer iCal: http://support.apple.com/kb/HT2966
    Reset syncing on your Mac: http://support.apple.com/kb/TS1627
    Reply back if that does not resolve your issue.
    Hope that helps.

  • TS1453 Hi, I bought Apple tv traying to rent a movie but there problem with itunes, and there is on apple tv don't have my country. could you help me please how can I solve this problem?

    Hi, I bought Apple tv traying to rent a movie but there problem with itunes, and there is on apple tv don't have my country. could you help me please how can I solve this problem?

    Whinston,
    I live in Azerbaijan. Recently I bought apple tv in New York. When I come back to my country tried to rent movies from my country but couldn't find my country name on apple tv menu, so there is a problem I don't know how to fix it. is there have another way to take a rent movies?

Maybe you are looking for

  • Gma x3100 card with world of warcraft

    hello i play world of warcraft with the gma x3100 and sometimes on the screen there is graphic issues with weird colors appearing. many people that play with this card has the same problem i was wondering if anyone has came with a solution to help th

  • Converted GIF Images Does Not Display In Report

    I have a wmf file that contains an image. I converted the wmf file into a gif using software A. This image displays correctly in Oracle Forms and Reports (9.0.4). I take the same wmf file and use software B to convert the file into a gif. Using the s

  • Podcast page blank, but entries/archive okay?

    Help! iWeb has lost its natural mind this morning. I'm using a podcast page as a blog page, dropping in photos and text, because I like the look/layout of that page better in the template I'm using. Normally, it works fine. Today, the main page with

  • Thumbnails out of sync in library.

    In library's thumbnail view all photos are off one. When I select a thumbnail, the viewer shows the photo to the right of it in the thumbnail viewer. Also, some thrumbnails appear stretched or squashed. Please help!

  • Lots of errors:

    running gimp: [ryan@Archbox ~]$ gimp gimp: error while loading shared libraries: /usr/lib/libart_lgpl_2.so.2: file too short [ryan@Archbox ~]$ running pacman : Targets: gimp-2.2.17-1  Total Package Size:   10.47 MB Proceed with installation? [Y/n] y