Java interface as an Axis Web Service

Hi averybody:
I'm developping an application containning a web service using Axis 1.2 with Tomcat 5.5.7. I had design a Java interface for the WS and create mi deploy.wsdd file for it using Message-style.
Everithing goes right in deployment process, but when i try too use de WS from a client, i get de following error:
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.InstantiationException: chatService.IChatServer
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname: visit18 (este el nombre de esta m�quina)
java.lang.InstantiationException: chatService.IChatServer (esto es lo que da problema)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at samples.message.TestChatMsg.doit(TestChatMsg.java:64)
at samples.message.TestChatMsg.main(TestChatMsg.java:86)
The code of my interface is this:
public interface IChatServer {
public void connect(SOAPEnvelope req, SOAPEnvelope resp);
public void disconnect(SOAPEnvelope req, SOAPEnvelope resp);
public void publishMessage(SOAPEnvelope req, SOAPEnvelope resp);
public void retrieveMessages(SOAPEnvelope req, SOAPEnvelope resp);
public void retrieveUsers(SOAPEnvelope req, SOAPEnvelope resp);
Can anybody tell me what's happening here...
Thanks.

Hi, did you find out what the problem was ?
I've got the same problem.
Thanks,
Lotte

Similar Messages

  • Invoking a AXIS Web Service with a Java object as input argument

    Hi
    I've been trying to execute a bpel process that invokes a web service deployed through axis.
    This web service takes a java object as input argument as opposed to data types that are directly mapped to java types through the SOAP engine.
    I deployed and tested the service outside of BPEL using a test client class. Everything works well.
    When I try to configure the "Assign" and "Invoke" activities so that service can be invoked, I cannot see the data structure through the variable picker and I see the following message:
    "The element {urn:ComplexTypeWebService}TimeSheetBean is not know to the schema container. Perhaps a schema file that uses it needs to include or import its definition.There mat also be an XML schema issue (non resolvable schema) which prevents {urn:ComplexTypeWebService}TimeSheetBean from being seen by the schema processor."
    Is there any example that demonstrates how to invoke an axis web service in such scenario? What am I doing wrong?
    Please, let me know.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • Multiple Interfaces on a single web service URL

    we have a scenario where we have a multiple interfaces that are related to SD that needs to be exposed to another system. When we generate the WSDL from XI - it seems we can do only for one interface at a time.
    Is there a way - where in we can expose a single URL and treat these interfaces as web methods on that single URL? (similar to .Net or Java)
    If yes - how do we do that?
    Thanks.

    That will not be possible. Instead you have to expose only one interface which takes generic data as input. In the mapping, depending on dat, you should map them to various other interfaces which would definetly make your scenario complex..
    In XI each outbound interface is a separate web service (method).
    VJ

  • Application Server 8.2 + Axis Web Service Client +Win Server 2003 Issue

    Hi everyone,
    I'm facing a weird problem the last couples of days and I'm getting bored of banging my head against the logs/screen, so please if you could help I'd really appreciate it.
    I'm working on a Sun Application Server 8.2 project that includes an axis web service client. I am using Netbeans 5 to do the writing plus I am on a Win XP platform.
    The developers of the web service I intend to absorb were kind enough to package the client into a jar so all I have to do is to import the client and the axis related jar files (axis, axis-ant etc.) in my project and my classpath.
    Everything is working perfect on my pc but when I deploy the project on my actual server the web service client is running forever, leaving my end users with a blank browser window that is also loading forever.
    The server OS is Win Server 2003 and is directly connected to a gateway - no proxies. Also my development pc and my server are running the same jre and have the exact server police settings; but Sun's Application Server is running on port 8080 on my pc whereas on my server it's running on port 80.
    Here's my server's log:
    [#|2008-04-14T21:50:01.795+0300|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=14;|StandardWrapperValve[obos]: Servlet.service() for servlet obos threw exception
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (0)null
    faultActor:
    faultNode:
    faultDetail:
         {}:return code: 0
         {http://xml.apache.org/axis/}HttpErrorCode:0
    (0)null
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at uk.ac.ebi.ook.web.services.OntologyQuerySoapBindingStub.getOntologyNames(OntologyQuerySoapBindingStub.java:509)
         at org.dude.ols.client.obos.processRequest(obos.java:30)
         at org.dude.ols.client.obos.doGet(obos.java:64)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    |#]
    Any ideas?

    Hi Paz,
    Thanks for taking the time :)
    To answer your questions:
    1. Has this WebServices ever worked or is this the first time?
    The web service is working perfectly fine on my working station, the problem appears only when I deploy it on my actual server, which means that the web service is working.
    2. What Apache Axis Version are you using?
    1.4
    3. What JRE version are you using?
    Both my development pc and my server run jre 1.5.0_14
    4. In the actual server environment, can you confirm all information are exactly same as DEV environment...
    Oh yes! Absolutely.
    My recent assumption is that some windows service might be needed to run the web service client and obviously I have no clue which one it might be.
    Just to make sure; is the security policy of my Application Server set correctly?
         permission java.lang.RuntimePermission     "getClassLoader";
         permission java.lang.RuntimePermission "createClassLoader";
         permission java.lang.RuntimePermission "loadLibrary.*";
         permission java.lang.RuntimePermission "queuePrintJob";
         permission java.net.SocketPermission "*", "connect,accept,resolve";
         permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
    // work-around for pointbase bug 4864405
    permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
    permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
         permission java.util.PropertyPermission "*", "read,write";
         permission java.lang.RuntimePermission     "modifyThreadGroup";
    Again thanks for taking the time :)

  • Calling AXIS Web Service from a Weblogic Client

    Hi All,
    I am trying to generate a weblogic Web Service cliente (jar) to call an AXIS Web Service. I am using the weblogic ant task <b>clientgen</b> to generate the stubs/classes from WSDL of the AXIS Web Service.
    It creates the the jar but when I try to call the web service it gives the following error:
    <pre>
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: org.xml.sax.SAXException: No deserializer defined for array type {http://xml.apache.org/xml-soap}MapItem; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: org.xml.sax.SAXException: No deserializer defined for array type {http://xml.apache.org/xml-soap}MapItem
    javax.xml.rpc.soap.SOAPFaultException: org.xml.sax.SAXException: No deserializer defined for array type {http://xml.apache.org/xml-soap}MapItem
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:498)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:360)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:244)
         at sample.ProxyService_Stub.genericMethod(Unknown Source)
         at com.orange.few.webservice.test.TestSuiteFijo.testFijo(TestSuiteFijo.java:41)
         at java.lang.reflect.Method.invoke(Native Method)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    </pre>
    It says that it can´t find the deserializer for the defined array type {http://xml.apache.org/xml-soap}MapItem;
    But in the jar it creates the following clasese:
    <pre>
    org.apache.xml.xml.soap.MapItem
    org.apache.xml.xml.soap.MapItemCodec
    org.apache.xml.xml.soap.MapItemSequenceCodec
    org.apache.xml.xml.soap.holders.MapHolder
    org.apache.xml.xml.soap.holders.MapItemHolder
    </pre>
    and in the mapping file I see the folowing entry:
    <pre>
    <type-mapping-entry deserializer="org.apache.xml.xml.soap.MapSequenceCodec" class-name="org.apache.xml.xml.soap.MapItem[]" xmlns:p3="http://xml.apache.org/xml-soap" type="p3:Map" serializer="org.apache.xml.xml.soap.MapSequenceCodec">
    </type-mapping-entry>
    <type-mapping-entry deserializer="org.apache.xml.xml.soap.MapItemCodec" class-name="org.apache.xml.xml.soap.MapItem" xmlns:p4="http://xml.apache.org/xml-soap" type="p4:MapItem" serializer="org.apache.xml.xml.soap.MapItemCodec">
    </type-mapping-entry>
    </pre>
    Any help would be greatly appreciated,
    Gerardo
    Enviornment:
    Weblogic
    ========
    Weblogic Server: 7.0 SP 4
    OS: Sun Solaris 8
    JDK: 1.3
    AXIS
    ========
    AXIS Version: 1.4
    Container: Tomcat
    OS: Sun Solaris 8
    JDK: 1.4

    Hi Sebastien,
    The wsclient sample loads only a minimal set of SOAP and related jar files to the database required to get the sample working. The SSL related classes may not get resolved correctly, but as the sample does not use these,
    you should still be able to proceed with the setup.
    Can you continue with the configuration steps and let me know if you still face any problems in bringing up the application ?
    HTH
    Sujatha.
    OTN Group.

  • Apach AXIS Web Service Queries

    Hi All,
    we are thinking to use Apache AXIS Web Service. We have few compatibility queries for Axis Web Service
    Does it support complex types (i.e. Array of Java Objects if my web service returns)? If yes do you have any documentation?
    How do we convert SOAP fault into Application specific exception?
    How to encode SOAP messages?
    Ideal size of SOAP messages?
    Let me know if you require more information.
    Thanks
    Chintan

    I've just looked into this a bit more and discovered that AXIS will use log4j provided that an implementation of log4j is on the classpath of the server or client. Like I said before, what I would do is provide an implementation of log4j on the classpath and then provide a log4j.properties (or xml) file in the classpath.
    From the docs:
    Axis includes a preconfigured log4j.properties file in axis.jar. While this is adequate for basic use, any complex project will want to modify their own version of the file. Here is what to do
    1. Open up axis.jar in a zipfile viewer and remove log4j.properties from the jar
    2. Or, when building your own copy of axis.jar, set the Ant property exclude.log4j.configuration to keep the properties file out the JAR.
    3. Create your own log4J.properties file, and include it in WEB-INF/classes (server-side), in your main application JAR file client side.
    4. Edit this log4J properties file to your hearts content. Server side, setting up rolling logs with fancy html output is convenient, though once you start clustering the back end servers that ceases to be as usuable. Log4J power tools, such as 'chainsaw', are the secret here.
    If you want to remove logging altogether you can try just removing the log4j.properties file from the axis.jar. I wouldn't recommend this though and I have no idea what affect this will have ...

  • Issue: BPEL invoking Axis web service

    Hi
    We are calling a Axis web service from BPEL.. The web service has been defined to be a request only 1 way service. The axis service takes around 3-5 minutes to complete the job( data insertion in DB).. But seems like when BPEL invokes the web service; BPEL thread is waiting (thread is not released) and the BPEL process does not move forward until the web service completes the job....
    Any pointers on how the deal with the issue will be helpful!!
    Thanks

    Hi Lovenish,
    Goto console-> select domain> Configuration->JTA
    Check timeout seconds.
    2. i don't know what kind of partner link you are invoking.
    check composite.xml, is there any property like retry.interval .
    3. ◦SyncMaxWaitTime: The maximum time a request and response operation takes before timing out.
    The maximum time a request/response operation will take before it times out. The default value is 45 seconds.
    Regards,
    Padmanabham

  • Creating SOAP Receiver comm.channel for axis web service

    Hi,
    I created Soap Receiver comm. channel fro Axis web service like below:
    *Target URL* : http://<IP>:<Port>/<x>/service
    *User:* <user>
    *Password :* <password>
    *SOAP Action:* <target namespace>/method
    when i drive PI Message that use Soap Receiver it get error below
    I do same method for .Net web service, it runs properly.
    How can i solve this problem?
    Error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>Object ID B3004965647F340C997B5F2CC9EA7E22 Software Component 4CF44F80503211DEB2A0D3F40A194B29</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Mapping program is not available in runtime cache: Object ID B3004965647F340C997B5F2CC9EA7E22 Software Component 4CF44F80503211DEB2A0D3F40A194B29</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did all  but nothing changed?
    I have doubt about axis side. Because respose like below.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    May be Soap Receiver setting for axis web service must be different.
    Thanks.

  • Changing structure of Axis web service response?

    I am developing an Axis web service with one request called 'createCaseWithRef'. The client that consumes the web serivce has already been configured to send a request in a certain structure and recieve a response in a certain structure.
    I have the request working fine, but the response being sent back from the web service is wrong. The structure of the response should be:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns0="http://com.lagan/types/WebService"
    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <env:Body>
              <ans1:createCaseWithRefResponse xmlns:ans1="http://com.lagan/wsdl/WebService">
                   <result href="#ID1"/>
              </ans1:createCaseWithRefResponse>
              <ns0:ArrayOfstring id="ID1" xsi:type="enc:Array" enc:arrayType="xsd:string[2]">
                   <item xsi:type="xsd:string">1000251282</item>
                   <item xsi:type="xsd:string">12345-FLC-155524</item>
              </ns0:ArrayOfstring>
         </env:Body>
    </env:Envelope>Whereas the response message being sent back is:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:createCaseWithRefResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://com.lagan/types/WebService">
                   <createCaseWithRefReturn soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
                        <createCaseWithRefReturn xsi:type="xsd:string">1000251282</createCaseWithRefReturn>
                        <createCaseWithRefReturn xsi:type="xsd:string">12345-FLC-155524</createCaseWithRefReturn>
                   </createCaseWithRefReturn>
              </ns1:createCaseWithRefResponse>
         </soapenv:Body>
    </soapenv:Envelope>How can I change the structure of the response message to conform with the expected message? Is this done is the WSDD file of the service?
    Any help would be greatly appreciated.

    Anyone know how to do this? Please help if you do, this would be very much appreciated.

  • How to access HttpRequest Object from Axis web service?

    Hi all,
    I have Axis web service named shoppingcartService,
    and i have ShoppingCartImpl as implemention class which
    implements passfamily() method
    When client access my web service, ShoppingCartImpl's passFamily method is executed.
    I have one more servlet under my axis web application which implements business logic.
    problem is that i want to call/invoke this servlet from passfamily method of ShopingCartImpl class.
    So how can i call/invoke servlet from passFamily method of ShoppingCartImpl class ?
    (All stuff is under Axis web application under Tomcat).

    hi
    the following link may helpful to you
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
    Regards
    Prasanna Yalam

  • Samples on axis web services

    i need to go through more axis web services samples rather than hello or echo. i'm using axis 1.2 running on tomcat 5.5 and i'm not using any ide recently. is there any good web/blogging sites which include those kind of stuff.

    i hav written some code for the web service and i'm stuck at including an address object in to the code as it is said in the question. i know it is a complex data type but don't know how to put it here. this is what i hav written
    public class CustomerInfoService {
        int customerID = 0;
        String customerName = null;
        int phoneNo = 0;
        String address = null;
        int age = 0;
        double lastBalance = 0;
        /** Creates a new instance of CustomerInfo bean */
        public CustomerInfoService() {
        public void setCustomerID( int thecustomerID )
            customerID = thecustomerID;
        public int getCustomerID()
            return customerID;
        public void setCustomerName( String thecustomerName )
            customerName = thecustomerName;
        public String getCustomerName()
            return customerName;
        public void setPhoneNo( int thephoneNo )
            phoneNo = thephoneNo;
        public int getPhoneNo()
            return phoneNo;
        public void setAddress( String theaddress )
            address = theaddress;
        public String getAddress()
            return address;
        public void setAge( int theage )
            age = theage;
        public int getAge()
            return age;
        public void setLastBalance( double thelastBalance )
            lastBalance = thelastBalance;
        public double getLastBalance()
            return lastBalance;
    }

  • Java API for Primavera p6 Web services

    Hi All,
           - Anyone can please suggest me how to create the Java API for primavera p6 web services ?.
           -if is this inbuild then from where we can download please suggest me or give me some link ?.
    Thanks & Regards
    Dharmendra

    You can review P6 Professional Project Management 7.0 Documentation Library for documentation on API and how to use it.
    API are available and can be downloaded from edelivery.oracle.com.

  • [svn] 3822: update the test to use qa-regress axis web service target

    Revision: 3822
    Author: [email protected]
    Date: 2008-10-22 11:53:21 -0700 (Wed, 22 Oct 2008)
    Log Message:
    update the test to use qa-regress axis web service target
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-manual/ipv6/proxyservice/webService/ipv6_ws_dynamicurl. mxml

    I solved that url problem. But there is still something I need to ask.
    First of all, the solution is the following;
         I have implemented my asp.net web service with visual studio, creating web service application. when I implement the project, it shows how to send requests( soap, http ), and there is http post request.( no get ). then I create and http post service with flash builder, the problem was that I needed to add a submit parameter to that service call since this is a post request to asp.net( Content-Type: application/x-www-form-urlencoded ). when I add this parameter it works well.
         however I want my service to return xml directly. In a different post http://forums.adobe.com/thread/574684?tstart=0 the problem is solved for PHP http requests. but when I try to implement in the same way it gives following error:
    any solution for that? thx

  • Why not passing only one XML String parameter to Axis Web Service interface

    Hi,
    I am a newbie of axis and this is the first post in SUN site.
    I am writing a web service. I am considering this question after trying some examples in Axis:
    Why not defined parameters of our service interface (Service method.) as a XML String? -We can provide a XML Schema to Client, client fill all required information to a XML according to XML Schema. Seem that it is more straightforward than passing some complex objects.
    Your answer will be high appreciated!
    Thanks,
    -Hut

    Did you find a solution for that? Even im trying the same...

  • Getting error while invoking client interface method as a web service

    Hi,
    I have written one custom method inAppModuleImpl and include that custom method into the AppModule's Client Interface(AppModule-->Java-->ClientInterface).
    It autogenerates two java classes: ClientInterfaceImpl class and interface class. I right clicked on ClientInterfaceImpl class and select the option create webservice proxy. Then I deployed my application into the WL Server. There I am able to see the webservice. But when I test the webservice and invoke the method. It is throwing the below exception:
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/xml;charset=UTF-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    Date: Thu, 28 Jul 2011 12:07:42 GMT
    X-ORACLE-DMS-ECID: 6d2bf3b5503a93f7:-56043a49:1316ef0e0c2:-8000-000000000000028d
    Content-Length: 6624
    X-HTTPAnalyzer-RuleName: Pass through :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Server</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <detail>
    <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" class="java.lang.NullPointerException">
    <ns2:stackTrace>
    <ns2:frame line="7598" file="ApplicationModuleImpl.java" method="isMarshalledLocally" class="oracle.jbo.client.remote.ApplicationModuleImpl"/>
    <ns2:frame line="7572" file="ApplicationModuleImpl.java" method="riInvokeExportedMethod" class="oracle.jbo.client.remote.ApplicationModuleImpl"/>
    <ns2:frame line="27" file="TestClientInterfaceAMClient.java" method="testmethod" class="model.client.TestClientInterfaceAMClient"/>
    <ns2:frame line="native" file="NativeMethodAccessorImpl.java" method="invoke0" class="sun.reflect.NativeMethodAccessorImpl"/>
    <ns2:frame line="39" file="NativeMethodAccessorImpl.java" method="invoke" class="sun.reflect.NativeMethodAccessorImpl"/>
    <ns2:frame line="25" file="DelegatingMethodAccessorImpl.java" method="invoke" class="sun.reflect.DelegatingMethodAccessorImpl"/>
    <ns2:frame line="597" file="Method.java" method="invoke" class="java.lang.reflect.Method"/>
    <ns2:frame line="92" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
    <ns2:frame line="74" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
    <ns2:frame line="151" file="InvokerTube.java" method="invoke" class="com.sun.xml.ws.server.InvokerTube$2"/>
    <ns2:frame line="268" file="EndpointMethodHandlerImpl.java" method="invoke" class="com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl"/>
    <ns2:frame line="100" file="SEIInvokerTube.java" method="processRequest" class="com.sun.xml.ws.server.sei.SEIInvokerTube"/>
    <ns2:frame line="866" file="Fiber.java" method="__doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="815" file="Fiber.java" method="_doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="778" file="Fiber.java" method="doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="680" file="Fiber.java" method="runSync" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="401" file="WSEndpointImpl.java" method="process" class="com.sun.xml.ws.server.WSEndpointImpl$2"/>
    <ns2:frame line="531" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit"/>
    <ns2:frame line="253" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter"/>
    <ns2:frame line="140" file="ServletAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter"/>
    <ns2:frame line="206" file="WLSServletAdapter.java" method="handle" class="weblogic.wsee.jaxws.WLSServletAdapter"/>
    <ns2:frame line="310" file="HttpServletAdapter.java" method="run" class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke"/>
    <ns2:frame line="223" file="HttpServletAdapter.java" method="post" class="weblogic.wsee.jaxws.HttpServletAdapter"/>
    <ns2:frame line="124" file="JAXWSServlet.java" method="doPost" class="weblogic.wsee.jaxws.JAXWSServlet"/>
    <ns2:frame line="727" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
    <ns2:frame line="79" file="JAXWSServlet.java" method="service" class="weblogic.wsee.jaxws.JAXWSServlet"/>
    <ns2:frame line="820" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
    <ns2:frame line="227" file="StubSecurityHelper.java" method="run" class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction"/>
    <ns2:frame line="125" file="StubSecurityHelper.java" method="invokeServlet" class="weblogic.servlet.internal.StubSecurityHelper"/>
    <ns2:frame line="300" file="ServletStubImpl.java" method="execute" class="weblogic.servlet.internal.ServletStubImpl"/>
    <ns2:frame line="26" file="TailFilter.java" method="doFilter" class="weblogic.servlet.internal.TailFilter"/>
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
    <ns2:frame line="101" file="JpsAbsFilter.java" method="run" class="oracle.security.jps.ee.http.JpsAbsFilter$1"/>
    <ns2:frame line="native" file="AccessController.java" method="doPrivileged" class="java.security.AccessController"/>
    <ns2:frame line="313" file="JpsSubject.java" method="doAsPrivileged" class="oracle.security.jps.util.JpsSubject"/>
    <ns2:frame line="413" file="JpsPlatformUtil.java" method="runJaasMode" class="oracle.security.jps.ee.util.JpsPlatformUtil"/>
    <ns2:frame line="84" file="JpsAbsFilter.java" method="runJaasMode" class="oracle.security.jps.ee.http.JpsAbsFilter"/>
    <ns2:frame line="147" file="JpsAbsFilter.java" method="doFilter" class="oracle.security.jps.ee.http.JpsAbsFilter"/>
    <ns2:frame line="71" file="JpsFilter.java" method="doFilter" class="oracle.security.jps.ee.http.JpsFilter"/>
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
    <ns2:frame line="136" file="DMSServletFilter.java" method="doFilter" class="oracle.dms.servlet.DMSServletFilter"/>
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
    <ns2:frame line="3715" file="WebAppServletContext.java" method="wrapRun" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction"/>
    <ns2:frame line="3681" file="WebAppServletContext.java" method="run" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction"/>
    <ns2:frame line="321" file="AuthenticatedSubject.java" method="doAs" class="weblogic.security.acl.internal.AuthenticatedSubject"/>
    <ns2:frame line="120" file="SecurityManager.java" method="runAs" class="weblogic.security.service.SecurityManager"/>
    <ns2:frame line="2277" file="WebAppServletContext.java" method="securedExecute" class="weblogic.servlet.internal.WebAppServletContext"/>
    <ns2:frame line="2183" file="WebAppServletContext.java" method="execute" class="weblogic.servlet.internal.WebAppServletContext"/>
    <ns2:frame line="1450" file="ServletRequestImpl.java" method="run" class="weblogic.servlet.internal.ServletRequestImpl"/>
    <ns2:frame line="207" file="ExecuteThread.java" method="execute" class="weblogic.work.ExecuteThread"/>
    <ns2:frame line="176" file="ExecuteThread.java" method="run" class="weblogic.work.ExecuteThread"/>
    </ns2:stackTrace>
    </ns2:exception>
    </detail>
    </S:Fault>
    </S:Body>
    </S:Envelope>
    How to solve this??
    Thanks,
    Vicky.
    Edited by: Vicky on Jul 28, 2011 5:10 AM

    I'm using version 14.1.2002. I can create a webi report, but If I use a filter in this webi, a message WIS 30270 appears.

Maybe you are looking for

  • How can I create a new client?

    Hi, I'm new in SAP XI and I want to know how I can create a client 100 and how can I assign a client to an user "XISUPER"?? Can you help me please? Thanks. Regards Stefan

  • Can't view my iweb 08 page

    Hi Everyone... I have created a single front page for my website using iWeb 08. I've followed a cPanel tutorial on uploading iWeb08 files to my host server. Once created it was saved to a folder in the Sites folder. I uploaded via FTP using Cyberduck

  • Load balance traffic to a service based on a added field in the HTTP Header

    I am trying to use HTTP Header Load balancing but the field we want to use in order to load balance is "user-defined", example HTTP_TOTO = toto1. Do you have any idea on how I could perform this ? Thanks in advance

  • Is it possible to have a clickable hyperlink as a field under Products?

    As the subject says, is it possible to have a clickable hyperlink setup as a field in the Products table somehow? Basically I have a field that automatically constructs a hyperlink based on an assignment and I'm wondering if there is a way you can se

  • Rule in Workflow

    What is a rule in workflows, when is it used