Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8412385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:39:29+00:00 2026-06-10T00:39:29+00:00

I am tasked to create a simple tool, invoking a specific, SOAP-based web service.

  • 0

I am tasked to create a simple tool, invoking a specific, SOAP-based web service.

I am new to Java Spring Framework and Web services in general. I have been reading up on both for a while now.

So far, I am able to invoke a method, which does not have parameters and get back the result, but I hav trouble adding parameters to the request.

Code so far:

String msg = "<methodname xmlns=\"http://www.namespace.com/\">" +
                        "<param1>TEST</param1>"+
                        "<param2>TEST</param2>"+
                 "</methodname>";
    ApplicationContext appCon = new ClassPathXmlApplicationContext("appCon.xml");
    BeeSmartSpringConnector bee = (BeeSmartSpringConnector) appCon.getBean("BeeSmartConnector");
    bee.setDefaultUri("http://127.0.0.1:85/WebServices/TestBean?wsdl");
    bee.simpleSendAndReceive(msg);

As a result, the webservice returns the message:

Required parameter not found! --&gt; Parameters : param1="null", param2="null"

According to the WSDL-file those two parameters are exactly what the method needs.

Can you please tell what I did wrong? Maybe wrong formatting of request?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:39:30+00:00Added an answer on June 10, 2026 at 12:39 am

    How about setting msg as…

    String msg = "<ns:methodname xmlns:ns=\"http://www.namespace.com/\">" +
                            "<param1>TEST</param1>"+
                            "<param2>TEST</param2>"+
                     "</ns:methodname>";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to CSS and we were tasked to create a simple website,
I have been tasked with building a simple web based system for managing a
I'm tasked to create a simple CRUD MVC application, and I thought it's a
I've been tasked with writing a web service that can be called from one
im tasked to create a virtual database that clients can create from our web
I'm tasked to create a web application. I'm currently using c# & asp.net (mvc
I have been tasked to create a form designer application in Windows Forms. The
I am tasked with migrating a web site from Joomla! 1.5 to Joomla! 2.5
I was recently tasked with performing a feasibility study based around switching from using
I've been tasked with converting some text log files from a test reporting tool

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.