on 04-07-2015 9:47 PM
Hi Masters.
I am very new in WebServices and WEBDYNPROS on Java.
I generated an Webservices to connect to MDM repository that generation finished OK .
the problem is when I trying to executes that WS since SOAIU editor always return the next message of error
the xlsd I am testing is :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:ZWS_VENDOR_MDMVi" xmlns:urn1="urn:com.sap.mdm.ws.beans.zws_vendor_mdm" xmlns:urn2="urn:com.sap.mdm.ws.beans" xmlns:urn3="urn:com.sap.mdm.core.beans">
<soapenv:Header/>
<soapenv:Body>
<urn:searchMDM_VENDORS>
<urn:query>
<!--Optional:-->
<urn1:criteria>
<!--Zero or more repetitions:-->
<urn1:namedSearchCriteria></urn1:namedSearchCriteria>
<!--Zero or more repetitions:-->
<urn1:maskCriteria>1</urn1:maskCriteria>
<!--Optional:-->
<urn1:logicalOperator>1</urn1:logicalOperator>
<!--Optional:-->
<urn1:keywordCriteria>
<!--Optional:-->
<urn2:value>1</urn2:value>
<!--Optional:-->
<urn2:expressionOperator>1</urn2:expressionOperator>
</urn1:keywordCriteria>
<!--Optional:-->
<urn1:mDM_VENDOR_NUMBER>
<!--Optional:-->
<urn2:logicalOperator></urn2:logicalOperator>
<!--Zero or more repetitions:-->
<urn2:constraint>
<!--Optional:-->
<urn2:value>4300024</urn2:value>
<!--Optional:-->
<urn2:expressionOperator>EQUALS</urn2:expressionOperator>
</urn2:constraint>
</urn1:mDM_VENDOR_NUMBER>
</urn1:criteria>
<!--Optional:-->
<urn1:resultDefinition>
<urn2:fieldListType>ALL</urn2:fieldListType>
<urn2:retrieveKeyMapping>false</urn2:retrieveKeyMapping>
<urn2:loadAttributes>false</urn2:loadAttributes>
<urn2:pageNumber>1</urn2:pageNumber>
<urn2:pageSize>100</urn2:pageSize>
</urn1:resultDefinition>
</urn:query>
<urn:reposInfo>
<!--Optional:-->
<urn3:dataLang>English [US]</urn3:dataLang>
<!--Optional:-->
<urn3:destinationName>MDM_Destination</urn3:destinationName>
<!--Optional:-->
<urn3:repositoryName>VENDOR_CATALOG</urn3:repositoryName>
<!--Optional:-->
<urn3:secureConnection>false</urn3:secureConnection>
<!--Optional:-->
<urn3:serverName>led1.la.holcim.net</urn3:serverName>
</urn:reposInfo>
</urn:searchMDM_VENDORS>
</soapenv:Body>
</soapenv:Envelope>
the error WS is returned .
<SOAP-ENV:Body xmlns:rpl="urn:ZWS_VENDOR_MDMVi">
<rpl:searchMDM_VENDORSResponse xmlns:rn0="java:sap/standard" xmlns:rn1="urn:com.sap.mdm.ws.beans" xmlns:rn2="http://schemas.xmlsoap.org/soap/encoding/" xmlns:rn3="urn:com.sap.mdm.core.base" xmlns:rn4="urn:com.sap.mdm.ws.beans.zws_vendor_mdm" xmlns:rn5="urn:com.sap.mdm.core.beans">
<Response>
<rn1:executionStatus>
<rn1:status>Fault</rn1:status>
<rn1:description>com.sap.mdm.extension.session.ConnectionManagerEx.getMdmDestinationProperties(Ljava/lang/String;)Lcom/sap/mdm/session/NetWeaverMdmDestinationProperties;</rn1:description>
<rn1:fault>
<rn1:severity>Error</rn1:severity>
<rn1:text>java.lang.NoSuchMethodError: com.sap.mdm.extension.session.ConnectionManagerEx.getMdmDestinationProperties(Ljava/lang/String;)Lcom/sap/mdm/session/NetWeaverMdmDestinationProperties;
at com.sap.mdm.ws.data.connection.AbstractWSConnectionManager.createUserSessionContextFromDestination(AbstractWSConnectionManager.java:101)
at com.sap.mdm.ws.data.connection.BasicAuthenticationConnectionManagerImpl.createAuthenticatedSessionCtx(BasicAuthenticationConnectionManagerImpl.java:72)
at com.sap.mdm.ws.data.EJBGateWay.createConnection(EJBGateWay.java:404)
at com.sap.mdm.ws.data.EJBGateWay.executeOperation(EJBGateWay.java:210)
at com.sap.mdm.ws.data.EJBGateWay.executeOperation(EJBGateWay.java:147)
at com.sap.mdm.ws.gen.ejbs.ZWS_VENDOR_MDMBean.searchMDM_VENDORS(ZWS_VENDOR_MDMBean.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
any idea which is the problem . thanks in advaned.
Hi,
Are you testing it through SOAP UI, check if MDM Destination values are provided during invoke.
You can test the MDM Web Service you generated through Web Service Navigator also as per the below url (Replace host and port as per ur configuration), where passing values is easy.
http://<server>:<port>/wsnavigator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi. thanks for you support.
I made the test On WebService Navigator but the result was the same nosuchMethot. I am really doubing if componets are the currect version.
Do you Know a guide over currect versions MDM componets are compatibility acorde My Netweaber 7.2 I have the next componets Installed right Now.
MDM_EP | 1000.710.711.7.0.20110411202139 |
MDM_JAVA_API | 1000.710.0.13.109.20141123194400 |
MDM_WEB_SERVICES | 1000.710.710.13.0.20141201183346 |
MDM_CONNECTOR | 1000.710.711.8.47.20130404190252 |
MDM_WEB_SERVICES_RUNTIME | 1000.710.711.13.0.20141201183341 |
MDM_JAVA_WD_FRAMEWORK | 1000.710.711.7.39.20130226190744 |
Thanks in Advances
Hi,
What is the type of WebService? Is it custom developed one or developed using MDM WebsService Generator. Through Web Service Navigator, whenever you select WebService deployed, you will be able to see all operation/method provided under it. Only, then you can select Operation and Provide Inputs for Web Service.
If you are not able to see the Operation in WebService, re-generate or check your code, if it custom built webservice.
Hi Ravi. MDM_Destination is correct the test is sucessfull. on URL http://<host>:<port>/mdm/destinations , about the criteria parameters I check with parameter Vendor Number and the result is the same . NosuchMethod.
thanks for your value support. any other Idea. ?
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.