Web Service Adapter import problem in ETPM

Hi ,
When I tried to import the http://uiappdev3.detr.nv:7090/WebService/iwfCWI.wsdl in Web Service Adapter in ETPM ,After that when i tried to generete the Request Data Area and Response Data Area I am geting the below eroor message, Can anyone suggest me...
This is my http://uiappdev3.detr.nv:7090/WebService/iwfCWI.wsdl
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://uilink.interfaces.com/iwf/cwi" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:sch="http://uilink.interfaces.com/iwf/cwi" name="" targetNamespace="http://uilink.interfaces.com/iwf/cwi"> <wsdl:types> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cwi="http://uilink.interfaces.com/iwf/cwi" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://uilink.interfaces.com/iwf/cwi"> <xs:element name="cwi-update-request"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" name="requests" nillable="true" type="cwi:cwiUpdateRequestType"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="cwi-update-response"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="message" type="xs:string"/> <xs:element name="requestStatus" type="cwi:requestStatusType"/> <xs:element maxOccurs="unbounded" name="responses" nillable="true" type="cwi:cwiUpdateResponseType"/> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="cwiUpdateRequestType"> <xs:sequence> <xs:element name="userId" type="cwi:writtenUserId"/> <xs:element minOccurs="0" name="processLaunch" type="cwi:processLaunch"/> </xs:sequence> </xs:complexType> <xs:complexType name="cwiUpdateResponseType"> <xs:sequence> <xs:element minOccurs="0" name="message" type="xs:string"/> <xs:element name="requestStatus" type="cwi:requestStatusType"/> </xs:sequence> </xs:complexType> <xs:simpleType name="requestStatusType"> <xs:restriction base="xs:string"> <xs:enumeration value="SUCCESS"/> <xs:enumeration value="ERROR"/> <xs:enumeration value="DUPLICATE_REQUEST"/> <xs:enumeration value="NOT_SENT"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="writtenUserId"> <xs:restriction base="xs:string"> <xs:enumeration value="UINV"/> </xs:restriction> </xs:simpleType> <xs:complexType name="processLaunch"> <xs:sequence> <xs:element name="procTypCd" type="xs:string"/> <xs:element minOccurs="0" name="procItmTypCd" type="xs:string"/> <xs:element minOccurs="0" name="issId" type="xs:long"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="keyFields" type="cwi:commonKeyFields"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="histItems" type="cwi:commonProcessItemsHistory"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="attachements" type="cwi:commonProcessItemsAttachments"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="parties" type="cwi:commonProcessItemsParties"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonKeyFields"> <xs:sequence> <xs:element name="keyFiledCd" type="xs:int"/> <xs:element minOccurs="0" name="keyFiledVal" type="xs:string"/> <xs:element minOccurs="0" name="isRequired" type="xs:boolean"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonProcessItemsHistory"> <xs:sequence> <xs:element minOccurs="0" name="procHistId" type="xs:long"/> <xs:element minOccurs="0" name="actionDate" type="xs:date"/> <xs:element minOccurs="0" name="actionCd" type="xs:string"/> <xs:element minOccurs="0" name="actor" type="xs:string"/> <xs:element minOccurs="0" name="actorName" type="xs:string"/> <xs:element minOccurs="0" name="receiver" type="xs:string"/> <xs:element minOccurs="0" name="receiverName" type="xs:string"/> <xs:element minOccurs="0" name="actionComments" type="xs:string"/> <xs:element minOccurs="0" name="deadlineDate" type="xs:date"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonProcessItemsAttachments"> <xs:sequence> <xs:element name="procAttachId" type="xs:long"/> <xs:element minOccurs="0" name="attachCtgCd" type="xs:string"/> <xs:element minOccurs="0" name="attachItemId" type="xs:long"/> <xs:element minOccurs="0" name="attachItemName" type="xs:string"/> <xs:element minOccurs="0" name="attachItemTypCd" type="xs:string"/> <xs:element minOccurs="0" name="attachedBy" type="xs:string"/> <xs:element minOccurs="0" name="attachReason" type="xs:string"/> <xs:element minOccurs="0" name="actionComments" type="xs:string"/> <xs:element minOccurs="0" name="attachDate" type="xs:date"/> <xs:element minOccurs="0" name="filePath" type="xs:string"/> <xs:element minOccurs="0" name="prtyNm" type="xs:string"/> <xs:element minOccurs="0" name="dueDate" type="xs:string"/> <xs:element minOccurs="0" name="rspndByDt" type="xs:string"/> <xs:element minOccurs="0" name="rspnsRcd" type="xs:string"/> <xs:element minOccurs="0" name="cpmNoticId" type="xs:long"/> <xs:element minOccurs="0" name="cprolcd" type="xs:string"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonProcessItemsParties"> <xs:sequence> <xs:element name="procAssoId" type="xs:long"/> <xs:element minOccurs="0" name="procAssoTypCd" type="xs:string"/> <xs:element minOccurs="0" name="prtyUILinkId" type="xs:long"/> <xs:element minOccurs="0" name="prtyName" type="xs:string"/> <xs:element minOccurs="0" name="prtySSN" type="xs:string"/> <xs:element minOccurs="0" name="prtyAcctNum" type="xs:string"/> <xs:element minOccurs="0" name="prtyFEIN" type="xs:string"/> <xs:element minOccurs="0" name="prtyPhonePrim" type="xs:string"/> <xs:element minOccurs="0" name="prtyPhonePrimExtn" type="xs:date"/> <xs:element minOccurs="0" name="prtyPhoneCel" type="xs:string"/> <xs:element minOccurs="0" name="prtyPhoneCelExtn" type="xs:string"/> <xs:element minOccurs="0" name="prtyFax" type="xs:string"/> <xs:element minOccurs="0" name="prtyEmail" type="xs:string"/> <xs:element minOccurs="0" name="prtyStrtOne" type="xs:string"/> <xs:element minOccurs="0" name="prtyStrtTwo" type="xs:long"/> <xs:element minOccurs="0" name="prtyCty" type="xs:string"/> <xs:element minOccurs="0" name="prtySta" type="xs:string"/> <xs:element minOccurs="0" name="prtyZip" type="xs:string"/> <xs:element minOccurs="0" name="prtyCnt" type="xs:string"/> <xs:element minOccurs="0" name="noteId" type="xs:long"/> <xs:element minOccurs="0" name="createdBy" type="xs:string"/> <xs:element minOccurs="0" name="dateCreated" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="dateModified" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="modifiedBy" type="xs:string"/> <xs:element minOccurs="0" name="noteList" type="cwi:noteList"/> </xs:sequence> </xs:complexType> <xs:simpleType name="mixedDate"> <xs:union memberTypes="cwi:valDate cwi:altDate"/> </xs:simpleType> <xs:simpleType name="valDate"> <xs:restriction base="xs:date"> <xs:minInclusive value="1900-01-01"/> <xs:maxInclusive value="4099-12-31"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="altDate"> <xs:restriction base="xs:string"> <xs:enumeration value="********"/> <xs:enumeration value="00000000"/> <xs:enumeration value="XXXXXXXX"/> <xs:enumeration value="99999999"/> <xs:enumeration value=" "/> </xs:restriction> </xs:simpleType> <xs:complexType name="noteList"> <xs:sequence> <xs:element name="dateCreated" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="dateModified" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="modifiedBy" type="xs:string"/> <xs:element name="noteId" type="xs:long"/> <xs:element minOccurs="0" name="noteSubj" type="xs:string"/> <xs:element minOccurs="0" name="noteTxt" type="xs:string"/> <xs:element minOccurs="0" name="noteUrgent" type="xs:string"/> <xs:element minOccurs="0" name="notypCd" type="xs:string"/> <xs:element minOccurs="0" name="prtyId" type="xs:long"/> <xs:element minOccurs="0" name="funcAreaCd" type="xs:string"/> <xs:element minOccurs="0" name="funcId" type="xs:long"/> </xs:sequence> </xs:complexType> </xs:schema> </wsdl:types> <wsdl:message name="cwi-update-response"> <wsdl:part name="cwi-update-response" element="tns:cwi-update-response"/> </wsdl:message> <wsdl:message name="cwi-update-request"> <wsdl:part name="cwi-update-request" element="tns:cwi-update-request"/> </wsdl:message> <wsdl:portType name="iwfCWI"> <wsdl:operation name="cwi-update"> <wsdl:input name="cwi-update-request" message="tns:cwi-update-request"/> <wsdl:output name="cwi-update-response" message="tns:cwi-update-response"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="iwfCWISoap11" type="tns:iwfCWI"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="cwi-update"> <soap:operation soapAction="createWorkItem"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="iwfCWIService"> <wsdl:port name="iwfCWISoap11" binding="tns:iwfCWISoap11"> <soap:address location="http://uiappdev3.detr.nv:7090/WebService/iwfCWIService"/> </wsdl:port> </wsdl:service></wsdl:definitions>
I got the below error message
VNAKKANA - 137890-184-1 2012-10-31 23:44:18,928 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (scripting.actions.Action) Executing step: 20: branch ("parm/isRequired = 'true'") goto 30 else 50;
VNAKKANA - 137890-184-1 2012-10-31 23:44:18,928 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (scripting.actions.Action) Executing step: 50: terminate;
VNAKKANA - 137890-185-1 2012-10-31 23:44:19,161 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select * from ( select scriptprom1_.STEP_SEQ_NUM as col_0_0_, scriptprom1_.SCR_CD as col_1_0_, scriptprom1_.SEQ_NUM as col_2_0_, scriptprom1_.DEFAULT_SW as col_3_0_, scriptprom1_.SORT_SEQ as col_4_0_, scriptprom1_.NEXT_SORT_SEQ as col_5_0_, scriptprom0_.LABEL_LONG as col_6_0_, scriptprom1_.SORT_SEQ as col_7_0_ from CI_SCR_PRMPT_L scriptprom0_ inner join CI_SCR_PRMPT scriptprom1_ on scriptprom0_.SCR_CD=scriptprom1_.SCR_CD and scriptprom0_.STEP_SEQ_NUM=scriptprom1_.STEP_SEQ_NUM and scriptprom0_.SEQ_NUM=scriptprom1_.SEQ_NUM where ((scriptprom1_.SCR_CD=? )and(scriptprom1_.STEP_SEQ_NUM=? ))and(scriptprom0_.LANGUAGE_CD=? ) order by scriptprom1_.SORT_SEQ ) where rownum <= ?
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,020 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.schema.AbstractSchemaBasedDispatcher) Performing page:read of BusinessService F1-WsdlToDA' (service='F1-WSDLTODA'), with input request
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ora="http://www.oracle.com/tugbu/uimap">
<serviceScript>F1-WsdlToDA</serviceScript>
<webServiceName>CM-UINV-CWI</webServiceName>
<operation>cwi-update</operation>
<requestDAexists/>
<responseDAexists/>
<requestDataAreaName>CM-RQ</requestDataAreaName>
<responseDataAreaName>CM-RS</responseDataAreaName>
</root>
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,021 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.schema.AbstractSchemaBasedDispatcher) Converted request to page header:(PageHeader)
actionFlag: null
OPERATION_NAME: cwi-update
REQUEST_DATA_AREA_CD: CM-RQ
RESPONSE_DATA_AREA_CD: CM-RS
WEB_SVC_NAME: CM-UINV-CWI
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,113 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select maintenanc0_.MAINT_OBJ_CD as col_0_0_ from CI_MD_MO maintenanc0_ where (maintenanc0_.SVC_NAME=? )
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,114 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.FrameworkSession) Flush requested prior to disabled flush executable
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,115 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.FrameworkSession) Flush not required, session is not dirty- prior to disabled flush executable
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,119 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select webservice0_.WEB_SVC_NAME as WEB1_1235_0_, webservice0_.VERSION as VERSION1235_0_, webservice0_.BO_STATUS_CD as BO3_1235_0_, webservice0_.STATUS_UPD_DTTM as STATUS4_1235_0_, webservice0_.WSDL_URL as WSDL5_1235_0_, webservice0_.WSDL_SVC_NAME as WSDL6_1235_0_, webservice0_.WSDL_PORT as WSDL7_1235_0_, webservice0_.URL as URL1235_0_, webservice0_.WSDL_SOURCE as WSDL9_1235_0_, webservice0_.WEB_SVC_SECURITY_TYPE_FLG as WEB10_1235_0_, webservice0_.BO_DATA_AREA as BO11_1235_0_, webservice0_.BUS_OBJ_CD as BUS12_1235_0_ from F1_WEB_SVC webservice0_ where webservice0_.WEB_SVC_NAME=?
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,134 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select operations0_.WEB_SVC_NAME as WEB1_1_, operations0_.OPERATION_NAME as OPERATION2_1_, operations0_.WEB_SVC_NAME as WEB1_753_0_, operations0_.OPERATION_NAME as OPERATION2_753_0_, operations0_.VERSION as VERSION753_0_, operations0_.WSDL_OPERATION_NAME as WSDL4_753_0_, operations0_.OPERATION_ACTIVE_FLG as OPERATION5_753_0_, operations0_.REQUEST_ELEMENT as REQUEST6_753_0_, operations0_.RESPONSE_ELEMENT as RESPONSE7_753_0_, operations0_.RESPONSE_DATA_AREA_CD as RESPONSE8_753_0_, operations0_.REQUEST_DATA_AREA_CD as REQUEST9_753_0_ from F1_WEB_SVC_OPERATIONS operations0_ where operations0_.WEB_SVC_NAME=? order by operations0_.OPERATION_NAME
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,903 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select distinct businessob0_.BUS_OBJ_CD as col_0_0_ from F1_BUS_OBJ_OPT businessob0_ where (businessob0_.BUS_OBJ_OPT_FLG=? )and((businessob0_.BUS_OBJ_OPT_VAL=? )or(businessob0_.BUS_OBJ_OPT_VAL=? ))
VNAKKANA - 137890-190-1 2012-10-31 23:44:34,913 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (api.service.ServiceExecutionPolicy) Encountered exception, session marked for rollback
java.lang.NullPointerException
at com.splwg.base.support.schema.wsdl.schema.W3CSchemaToFWMappingSchema.getDataType(W3CSchemaToFWMappingSchema.java:247)
at com.splwg.base.support.schema.wsdl.schema.W3CSchemaToFWMappingSchema.visitSimpleType(W3CSchemaToFWMappingSchema.java:240)
at

Hi,
I guess one of the biggest advantages of the WS Adapter is the support for WS Reliable Messaging.
Here are some documentations about this Adapter:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/304335f7-f33c-2a10-ae80-9c9ffdc86415
http://help.sap.com/saphelp_nwpi71/helpdata/en/45/37d73b80554c2ce10000000a1553f6/frameset.htm
Regards
Patrick

Similar Messages

  • Error connecting to Salesforce using a Web Service Adapter

    Hi,
    I'm working on a connection from Data Services 4.2 to Salesforce using a Web Service Adapter.
    I've setup up the adapter (including JVM parameters to use a HTTP proxy), created a Datastore based on the adapter and built a batch job that calls the login operation and initiates a sessions towards Salesforce.
    When I execute the batch job I get an error message that says:
    Error calling function <login>: <Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()>.
    The trace log for the Web Service Adapter contains the same error message and has some additional info.
    4/16/15 1:17:25 PM Thread[Thread-10,5,main] Handle request starting for operation: login
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addDocumentMessage()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addHeadersToEnvelope()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Remove message listener for message type [adapter.WSAdapter.__STREAM_FUNCTION.1].
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Stopping web service function call operation
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Receive message: BrokerMessage(
    _e.ErrorsTo=com.acta.adapter..client.dataAndMetadata_8
    _e.Timestamp=Thu Apr 16 13:17:26 2015
    _e.SourceTimeoutLength=90000
    _e.MessageID=16
    _e.Destination=com.acta.adapter.webservice.adapter.WebServiceAdapter.data_2
    _e.MessageType=MSG_ADAPTER_END_OPER
    _e.ReplyTo=com.acta.adapter..client.dataAndMetadata_8
    _e.CorrelationID=15_com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_SESSION_ID=2
    _e.Source=com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_OPER_ID=1)
    I've searched for any additional tracing/logging on the server but I haven't found anything relevant. Can anyone help me determining what the cause of this error is so I can solve this?
    Thanks,
    - Ian

    Hi,
    I'm working on a connection from Data Services 4.2 to Salesforce using a Web Service Adapter.
    I've setup up the adapter (including JVM parameters to use a HTTP proxy), created a Datastore based on the adapter and built a batch job that calls the login operation and initiates a sessions towards Salesforce.
    When I execute the batch job I get an error message that says:
    Error calling function <login>: <Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()>.
    The trace log for the Web Service Adapter contains the same error message and has some additional info.
    4/16/15 1:17:25 PM Thread[Thread-10,5,main] Handle request starting for operation: login
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addDocumentMessage()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addHeadersToEnvelope()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Remove message listener for message type [adapter.WSAdapter.__STREAM_FUNCTION.1].
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Stopping web service function call operation
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Receive message: BrokerMessage(
    _e.ErrorsTo=com.acta.adapter..client.dataAndMetadata_8
    _e.Timestamp=Thu Apr 16 13:17:26 2015
    _e.SourceTimeoutLength=90000
    _e.MessageID=16
    _e.Destination=com.acta.adapter.webservice.adapter.WebServiceAdapter.data_2
    _e.MessageType=MSG_ADAPTER_END_OPER
    _e.ReplyTo=com.acta.adapter..client.dataAndMetadata_8
    _e.CorrelationID=15_com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_SESSION_ID=2
    _e.Source=com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_OPER_ID=1)
    I've searched for any additional tracing/logging on the server but I haven't found anything relevant. Can anyone help me determining what the cause of this error is so I can solve this?
    Thanks,
    - Ian

  • PI 7.4 single stack web service adapter alternative

    Hi All,
    Looking at upgrading from 7.11 dual stack to 7.4 single stack and I know the web service adapter is no longer available (at least according to anything I have read, but I understand it is in the pipeline).
    How do we provide and consume web services on a single stack environment?
    I have looked hard, but if the answer has been before me I have failed to recognise it due to my own limitations.
    If someone could point me in the direction of any articles/blogs/discussions that answer my question or can answer the question I would be very grateful.
    thanks in advance
    Julian

    Hello Julian,
    WS adapter has not been migrated from ABAP stack to Java stack so far - so, in Java-only installation options of PI, there is no analogue for it from functional replacement perspective.
    For web services consumption, the SOAP adapter can be used, but it is applicable for plain SOAP communication, not for WS-RM.
    Regards,
    Vadim

  • Web service empty relationship problem

    hi all,
    I have a pretty simple web service. Two entities, a citizen and a business. A citizen is able to register 0..n businesses. There is a WS which reads the citizen. When the business key list in citizen is empty the web service wont return the citizen (portal request failed could not execute web service operation). When at least one relation is defined all works fine.
    I've tested the web service. The problem occurs only with VC.
    thanks for your help,
    regards, felix

    Hi Ankur,
    no, not exactly...
    The webservice is tested with an id as input and returns some string values (name, firstname...) and a list of references to other objects. When this list is empty...(depending on the back end system)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'></ns1:businessRef>
    ... visual composer returns an error.
    when this list is not empty (again depending on database entries in the back end)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'><pns:String>c22bc900-dec3-11db-cdce-00505625e523</pns:String>
    </ns1:businessRef>
    ... visual composer does not return an error but returns the values like the service is supposed to do.
    Testing the web service with Web Services Navigator both scenarios are working without problems.
    thanks for your fast response,
    felix

  • Howto implement a Web Service Adapter?

    Hi all,
    Is it possible to create a Web Service Adapter, that allows external apps to pass data into CEP by calling the WebService method in that Adapater?
    The intention is to have an external J2EE application to send events to CEP for further processing.
    Any pointers are deeply appreciated.
    thank you
    Yee Thian

    Hi all,
    my question has been answered with the new FMW 11.1.1.3 release. The [updated document |http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14301/webservconfig.htm#BHCBCGHI] has a section on exposing CEP application as WS.
    thank you all, especially Andy.
    yee thian

  • Difference between Direct binding ,  Web service Adapter and HTTP Binding

    Can any one help what is the differnce between
    *1) Direct binding*
    *2) Webservice Adapter*
    *3) HTTP Binding*
    I am trying to use the above service adapters as references in BPEL.
    I had invoked a web service hosted in OSB from BPEL via web service adapter and was successful
    On going through few docs came through the other two service adapters but was not able to figure out what exactly is the differnce .
    I learnt +"*Direct binding*"+ can be used to call OSB+ . How does it vary from Webservice Adapter+

    hi Eric ,
    Thanks for clarification ..
    OSB does not generate WSDL and web service adapter in BPEL mandates WSDL .
    I had to create WSDL separately and then feed into Web service adapter in BPEL to call OSB Proxy service. Though successful , felt its not an better approach.
    Please advice is there any way thatWSDL is generated in OSB itself . .if i try to create webservice on Proxy service the wsdl resulted from it has only binding and porty type .
    Is it the same case for ++Direct binding++ .I assume it should not be the case

  • Web service client authentication problem

    I applied security role to deployed web services. When I use clientgen to generate client stub or using java client to get WSDL, I got authentication error asking for username and password.
    This only happens when I use import in my WSDL file to import other schema files. I think the authentication process happened when retrieving wsdl file, but not import schema files.
    Is this some kind of BEA bugs or known issue?
    Any advice is appreciated.

    Yes, this is a problem. It should be fixed in upcoming release. The work around is embeding the schema to WSDL or run clientgen against a local copy.

  • Web Service - SSL handshake problem

    I'm trying to stabilish a SSL connection to Web Service using the Jakarta AXIS WebService (client) API in WAS environment.
    And sometimes i got the follow stacktrace:
    ; nested exception is:
         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
    Does someone have any tip to help me solve this problem?
    Thank you.

    Hi,
    you will have to import the server SSL certificate from the webservice into you client. To do this, you will have to import it into the keystore of your client.
    br,
    Tobias

  • Web Services int.java Problem

    Hi, I'm totally new to Web Services can have a problem with JBuilder trying to generate a file named int.java from the WSDL. The WSDL is supplied by a TDA in my company and I've noticed that it has a few descriptions that include <restriction base="int"/>. When I import the WSDL and select the option to generate local server and then try to compile from the default generated files, it's looking for String.java (that's OK, even though it doesn't find it) and also int.java...which doesn't make sense to me, so it FAILS to compile properly. I've also noticed that there is a deployment file WSDD that has a type of "java:int" in it.
    This may be a basic issue, but I'm new to Web Services this week so any help would be appreciated.
    Thanks, Paul.

    Ok, I will make this simplier. Couple questions.
    Is it possible to use cfargument in a web service?
    I looked at the samples out there and they all just have
    queries that take a
    form variable (#form.name#) since it was being passed by a
    form.
    Is it possible to have one web service function invoke
    another function in
    the same cfc?
    If you have one function that calls another to first validate
    the user and
    then invoke another to get the search results, do all have to
    be remote or
    can you have the search be private since you dont want it
    invoked remotely.
    I.E.
    <cffunction name="search" access="remote"
    returntype="query">
    <cfset authenticate = authenticateUser(#username#)>
    <cfif authenticate EQ 'yes'>
    <cfset myResults = searchProperty(#mlsnumber#)>
    </cfif>
    <cfreturn my Results>
    </cffunction>
    I tried a simple city search and tried to pass a variable
    argument.
    <cfinvoke
    webservice="
    http://74.86.90.210/realitorToolBox/model/webservices/CityGateway.cfc?wsdl"
    method="findCity" city = "clinton" returnvariable="aQuery"/>to:
    <cffunction name="findCity" access="remote"
    returntype="query"> <cfquery name="getCities"
    datasource="MLSListings"> Select city FROM residential WHERE
    city = '#city#' </cfquery> <cfreturn getCities>
    </cffunction>And I still get a function cannot be found, even
    though I used the cfcexplorer to verify that it does exist on the
    remote server.Any ideas?

  • Web service model initialization problem

    Hello, every one
    I have some trouble in the initialization of web service model.
    I tested the web service through web service navigator and it was ok.
    My context structure is:
    Request_ZBAPIWCALIST_zbapiWcalist(0..n)
    --parameters(0..1)
    rBdate(0..n)
    high(string)
    low(string)
    option(string)
    sign(string)
    --Response(0..1)
    Result(0..1)
    tWca(0..n)
    estat(string)
    istat(string)
    Following is my codes:
    Request_ZBAPIWCALIST_zbapiWcalist model = new Request_ZBAPIWCALIST_zbapiWcalist();
    ComplexType_ZbapiWcalist parameter = new ComplexType_ZbapiWcalist();
    model.setParameters(parameter);          
    ComplexType_ZbapiRBdate rBdate = new ComplexType_ZbapiRBdate();
    ComplexType_ZbapiRResp rResp = new ComplexType_ZbapiRResp();
    ComplexType_ZbapiRTplnr rTplnr = new ComplexType_ZbapiRTplnr();
    ComplexType_ZbapiRWapinr rWapinr = new ComplexType_ZbapiRWapinr();
    ComplexType_ZbapiRWapius rWapius = new ComplexType_ZbapiRWapius();
    ComplexType_ZbapiWcalistImport wcaImport = new ComplexType_ZbapiWcalistImport();
    rBdate.setLow("2007-7-1");
    rBdate.setHigh("2007-7-2");
    rBdate.setOption("EQ");
    rBdate.setSign("I");          
    rResp.setLow("");
    rResp.setHigh("");
    rResp.setOption("");
    rResp.setSign("");
    rTplnr.setLow("");
    rTplnr.setHigh("");
    rTplnr.setOption("");
    rTplnr.setSign("");
    rWapinr.setLow("");
    rWapinr.setHigh("");
    rWapinr.setOption("");
    rWapinr.setSign("");
    rWapius.setLow("");
    rWapius.setHigh("");
    rWapius.setOption("");
    rWapius.setSign("");
    wcaImport.setAnye("");
    wcaImport.setAnyi("");
    wcaImport.setSpd("");
    wcaImport.setStatu("");
    wcaImport.setWerks("");          
    ZbapiRBdate rBdateBean = rBdate.getOriginalBean();
    ZbapiRResp rRespBean = rResp.getOriginalBean();
    ZbapiRTplnr rTplnrBean = rTplnr.getOriginalBean();
    ZbapiRWapinr rWapinrBean = rWapinr.getOriginalBean();
    ZbapiRWapius rWapiusBean = rWapius.getOriginalBean();
    ZbapiWcalistImport wcaImportBean = wcaImport.getOriginalBean();
    ZbapiRBdate[] rBdateArray = new ZbapiRBdate[1];
    rBdateArray[0] = rBdateBean;
    ZbapiRResp[] rRespArray = new ZbapiRResp[1];
    rRespArray[0] = rRespBean;
    ZbapiRTplnr[] rTplnrArray = new ZbapiRTplnr[1];
    rTplnrArray[0] = rTplnrBean;          
    ZbapiRWapinr[] rWapinrArray = new ZbapiRWapinr[1];
    rWapinrArray[0] = rWapinrBean;          
    ZbapiRWapius[] rWapiusArray = new ZbapiRWapius[1];
    rWapiusArray[0] = rWapiusBean;
    wcalistBean.setRBdate(rBdateArray);
    wcalistBean.setRResp(rRespArray);
    wcalistBean.setRTplnr(rTplnrArray);
    wcalistBean.setRWapinr(rWapinrArray);
    wcalistBean.setRWapius(rWapiusArray);
    wcalistBean.setWaImport(wcaImportBean);
    wdContext.nodeRequest_ZBAPIWCALIST_zbapiWcalist().bind(model);
    The exception is:
    LocalizedMessage: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Low] of class [com.pjs.wcalist.model.wsmodel.proxies.types.p1.ZbapiRWapius] must exist and can not be null. This is required by schema description.
    In the test of the web service the Low of the ZbapiRWapius is not needed.
    And after setting the value, the exception told me that I must set the tWca, ie the subnode of the result.
    The problem is: I do not know why the setter method of the original bean of the "parameters" only accept the parameter of array type .
    I think the parameter I set may be wrong.
    When I deal with another web service model(the level of the structure is not deep), it is ok.
    Could someone give me some suggestion or explanation?
    Thanks a lot.
    Referring to the link:
    Re: HELP for WebDynpro web service model with complex structure

    Hi,
    I ahbe set the proxy in webcontainer in configtool,Is there any other thing i need to do?But please tell me what does the error means,<b>GenericServiceFactory error</b>?
    waiting for your reply,
    Regards,
    Ameya

  • BAPI Web Service Context Mapping Problem

    Hello all,
                 I am developing a process consisting of an automated activity.
    This automated activity uses a logical destination for a web service call to an ECC BAPI.
    The BAPI name is 'BAPI_INQUIRY_CREATEFROMDATA2'
    Now the problem is the Output mapping in the automated activity which calls the web service for the above BAPI has the response name as 'BAPI_INQUIRY_CREATEFROMDATA2.Response'
    So when i try to map the nodes it gives me an error, 'Error at Line 2, Column 29, Found '.' after BAPI_INQUIRY_CREATEFROMDATA2'.
    Since there is no mapping i do not get the process working
    If i remove the '.' from the wsdl file source, mapping is done. But the backend service call gives an error.
    How can i solve this problem?
    Any inputs will be very helpful.

    Hello Martin,
                     thnks a ton for your replies.
    The '.' is a standard thing.
    Its the part of the WSDL file which is a standard WSDL file for a service offered for a standard SAP BAPI. So i haven't changed anything.
    Its what is standardly available. So i cant anything on that.
    And the response element is not below the bapi node.
    The name of the root node of the BAPI return context is
    "BAPI_INQUIRY_CREATEFROMDATA2.Response"
    This is what is causing the problem.
    Please note here that '.' is not responsible for any hierarchy. Its the name of one single root node element.

  • Web service request formatting problem

    I'm trying to create a few interfaces to work with some web services that we have published within our organization. Creating the web service reference seems to go fine. We had to work through the details of getting that working over SSL and we seem to have gotten past that hurdle.
    Problem is that when I either test the web service reference through the testing page of the Apex app builder or attempt to call the web service from a page built on the web service reference I'm getting an error indicating that the XML of the SOAP request isn't properly formatted. Specifically, it seems that Apex is inserting an extra double-quote at the end of each element tag for all the input parameters.
    So I have this:
    <SOAP-ENV:Header><ns1:parameters xmlns:ns1="urn:GetIncidentTest"><ns1:userName">
    Notice the double-quote at the end of the userName element tag.
    The error message says:
    Element type "ns1:userName" must be followed by either attribute specifications, ">" or "/>".
    So it's seeing the double-quote where it's not expected/supposed to be and returning an error.
    It would seem to me that Apex must be putting that extra double-quote in there at request time, since the web service definition (the WSDL) seems to return all the proper parameters all neatly layed out in the testing page and any other pages I build off the service definition.
    Anyone got any ideas on this?
    Earl

    Jeff,
    That text() thing came from the Oracle magazine example. I've been looking in the documentation for an explanation of what it's for but haven't had any luck finding anything yet.
    Here's a sample response
    <?xml version="1.0" encoding="utf-8"?>
    <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:HelpDesk_QueryList_ServiceResponse xmlns="urn:Port"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns1="urn:Port">
    <ns1:getListValues>
              <ns1:Assigned_Group>Voice Services</ns1:Assigned_Group>
              <ns1:Assigned_Group_Shift_Name/>
              <ns1:Assigned_Support_Company>University of Utah</ns1:Assigned_Support_Company>
              <ns1:Assigned_Support_Organization>Office of Information Technology</ns1:Assigned_Support_Organization>
              <ns1:Assignee>JULIA JONES</ns1:Assignee>
              <ns1:Categorization_Tier_1/>
              <ns1:Categorization_Tier_2/>
              <ns1:Categorization_Tier_3/>
              <ns1:City>Salt Lake City</ns1:City>
              <ns1:Closure_Manufacturer/>
              <ns1:Closure_Product_Category_Tier1>Voice / Telephone Services</ns1:Closure_Product_Category_Tier1>
    <ns1:Closure_Product_Category_Tier2>Phone</ns1:Closure_Product_Category_Tier2>
    <ns1:Closure_Product_Category_Tier3>Coral</ns1:Closure_Product_Category_Tier3>
              <ns1:Closure_Product_Model_Version/>
              <ns1:Closure_Product_Name/>
              <ns1:Company>University of Utah</ns1:Company>
              <ns1:Contact_Company>University of Utah</ns1:Contact_Company>
              <ns1:Contact_Sensitivity>Standard</ns1:Contact_Sensitivity>
              <ns1:Country>United States</ns1:Country>
              <ns1:Department/>
              <ns1:Summary>Calling to outside numbers rings busy or just drops call</ns1:Summary>
              <ns1:Notes>Found trouble and corrected.  I will follow up with Cindy later today</ns1:Notes>
              <ns1:First_Name>CINDY</ns1:First_Name>
              <ns1:Impact>4-Minor/Localized</ns1:Impact>
              <ns1:Incident_Number>INC000000000230</ns1:Incident_Number>
              <ns1:Internet_E-mail>[email protected]</ns1:Internet_E-mail>
              <ns1:Last_Name>SOMEBODY</ns1:Last_Name>
              <ns1:Manufacturer/>
              <ns1:Middle_Initial/>
              <ns1:Organization/>
              <ns1:Phone_Number>888/555-6648</ns1:Phone_Number>
              <ns1:Priority>Low</ns1:Priority>
              <ns1:Priority_Weight>1</ns1:Priority_Weight>
              <ns1:Product_Categorization_Tier_1>Voice / Telephone Services</ns1:Product_Categorization_Tier_1>
         <ns1:Product_Categorization_Tier_2>Phone</ns1:Product_Categorization_Tier_2>
         <ns1:Product_Categorization_Tier_3>Coral</ns1:Product_Categorization_Tier_3>
              <ns1:Product_Model_Version/>
              <ns1:Product_Name/>
              <ns1:Region/>
              <ns1:Reported_Source>Other</ns1:Reported_Source>
              <ns1:Resolution>Misconfigured Trunk was corrected
    No futher reports of trouble</ns1:Resolution>
              <ns1:Resolution_Category/>
              <ns1:Resolution_Category_Tier_2/>
              <ns1:Resolution_Category_Tier_3/>
              <ns1:Service_Type>User Service Restoration</ns1:Service_Type>
              <ns1:Site>0523 Moran Phase II</ns1:Site>
              <ns1:Site_Group/>
              <ns1:Status>Closed</ns1:Status>
              <ns1:Status_Reason>No Further Action Required</ns1:Status_Reason>
              <ns1:Urgency>4-Low</ns1:Urgency>
              <ns1:VIP>No</ns1:VIP>
         </ns1:getListValues>
    </ns1:HelpDesk_QueryList_ServiceResponse>
    </soapenv:Body>
    </soapenv:Envelope>When I use the wrong node syntax I get an error saying that the node is invalid. However, when I set the xpath value to /HelpDesk_QueryList_ServiceResponse, with or without the /text() suffix I get the error I mentioned in my last post.
    Is that any more help? Sorry I'm such a noob with the XML stuff. I was hoping to avoid this level of detail by using the WSDL, but we already know that story. Thanks.
    Earl

  • ADFMobile - Web service data control problem for android

    Hi,
    I created an application for android and testing it on an emulator.
    I am able to create web service data control for a jax-ws web service. But when I invoke the web service and the call comes to the web service host, there are no namespaces in some of the parameters. Typically, the tags which do not have the namespace are complexTypes. All the values of the parameters come properly. I have tried executing the data control in three different manners but still no luck.
    AdfmfJavaUtilities.invokeDataControlMethod(..);
    AmxMethodActionBinding.execute();
    +#{bindings.invokeMethod.execute}+
    Thanks.

    Hi there,
    Can you try to generate a sample JAX-WS the generates a similar complex structure that can help you and us to isolate the issue? I created a jax-ws service using simple complex type on Ubuntu and also a client mobile application getting no problems running it. But, perhaps you are using a more complex structure, hence an standalone would be very useful.
    Juan C.
    Edited by: Juan Camilo Ruiz on Dec 10, 2012 4:00 PM

  • Web service url redirecting problem

    I am working on a form developed by LC Designer that will call a web service from our web server.
    In the WSDL, the soap address location points to www.domain.com/webservice1,
    however our web server will perform load balance by directing all www.domain.com to a new url
    either www1.domain.com or www2.domain.com.
    The result is that nothing is returned after executing the webservice call, I can't catch any error
    after xfa.connectionSet.WebServiceDC.execute(false); just nothing returns after the call.
    I suppose it is the problem that the url has been redirected to a different one.
    However if the soap address location points directly to either www1 or www2, the call returns result alright.
    Is there way or script that I can handle by redirecting a web service to a different URL like that in Adobe Flex?
    That is what I found from the web for Adobe Flex :
    public function onLoginResult(event:ResultEvent):void {
    //Extract the new service endpoint from the login result. 
    var newServiceURL = event.result.serverUrl;
    // Redirect all service operations to the URL received in the login result. 
        serviceName.endpointURI=newServiceURL;
    Best Rgds.

    A helpful poster on the House of Fusion forums pointed me to
    a work-around:
    Apparently ColdFusion just uses the WSDL to create the sub
    objects for the web service call, so as long as there is a service
    port address secified in the WSDL it doesn't matter where the
    actual WSDL file sits. So I just downloaded the WSDL using CFHTTP
    (had to use this article to configure CFHTTP for HTTP Compression:
    http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729)
    and then I pointed my CF Administrator to the WSDL on my local
    machine. And Presto - I can connect to the web service no problem
    now.
    Only problem is that I have to download the WSDL every time
    there is a change to the webservice, but I can schedule a task that
    downloads the file once a week or so.

  • Web service date format problem

    Hi, I am using a web service from another R/3 server. Its date format is like this..
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
    when I created a Proxy class, the date field  length is 8.
    I write my code and tryed execution. Its not giving any result and no exceptions also.
    I think the problem is with Date field..
    Suggest me how to solve this problem.
    Regards,
    Dhanunjaya Reddy

    Hi Dhanunjaya,
    If you are calling web service from your code, then it is executing like this->
    Your Code--> Proxy---> Already existing web service
    You are making  a call to proxy, not to web service directly.
    And in proxy it is defined as type D( with length 8) which is equivalent to YYYYMMDD.
    So try passing the value  YYYYMMDD(eg 20070505) from your code.
    Regards,
    Piyush
    YYYYMMDD

Maybe you are looking for