<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Making scene7 soap call from spring boot! in Adobe Experience Manager Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/456149#M34001</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="14383123"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the error say which line exactly has issue here.&lt;BR /&gt;&lt;BR /&gt;I was going through certain threads :&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/14057932/javax-xml-bind-jaxbexception-class-nor-any-of-its-super-class-is-known-to-t" target="_blank"&gt;https://stackoverflow.com/questions/14057932/javax-xml-bind-jaxbexception-class-nor-any-of-its-super-class-is-known-to-t&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I suppose the issue lies with Marshaller here, can you post the full log if possible, thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 08:53:08 GMT</pubDate>
    <dc:creator>milind_bachani</dc:creator>
    <dc:date>2022-06-14T08:53:08Z</dc:date>
    <item>
      <title>Making scene7 soap call from spring boot!</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/455731#M33940</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have a requirement where in we need to make scene7 soap call from spring application to get the given image member set ( multiple images associated). Wdls file I have is :&lt;/P&gt;&lt;P&gt;&lt;A href="http://s7ips1.scene7.com/scene7/webservice/IpsApi.wsdl" target="_blank"&gt;http://s7ips1.scene7.com/scene7/webservice/IpsApi.wsdl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;not sure if its latest wsdl reason being I am getting :&lt;/P&gt;&lt;P&gt;org.springframework.oxm.UncategorizedMappingException: Unknown JAXB exception; nested exception is javax.xml.bind.JAXBException: class org.com.project1.cm.CreateRequest nor any of its super class is known to this context..)&lt;/P&gt;&lt;P&gt;I followed article : &lt;A href="https://www.baeldung.com/spring-soap-web-service" target="_blank"&gt;https://www.baeldung.com/spring-soap-web-service&lt;/A&gt; to make soap call from spring boot.&lt;/P&gt;&lt;P&gt;I am appreciate your help or any pointers or reference document is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 17:18:56 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/455731#M33940</guid>
      <dc:creator>akashs71073883</dc:creator>
      <dc:date>2022-06-10T17:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Making scene7 soap call from spring boot!</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/455763#M33941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="14383123"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error looks like the annontations are not being followed properly.&lt;BR /&gt;&lt;BR /&gt;Are you adding any annotation on&amp;nbsp;&lt;SPAN&gt;CreateRequest() method ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Milind&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2022 06:44:51 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/455763#M33941</guid>
      <dc:creator>milind_bachani</dc:creator>
      <dc:date>2022-06-11T06:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Making scene7 soap call from spring boot!</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/455826#M33942</link>
      <description>&lt;P&gt;Below is the code i am using to create request.&lt;/P&gt;&lt;PRE&gt;   &lt;SPAN&gt;public &lt;/SPAN&gt;GetAssetsByNameReturn &lt;SPAN&gt;getAssetsByNameReturn&lt;/SPAN&gt;(String[] items) {&lt;BR /&gt;        GetAssetsByNameParam getAssetsByNameParamRequest = &lt;SPAN&gt;new &lt;/SPAN&gt;GetAssetsByNameParam()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;        getAssetsByNameParamRequest.setCompanyHandle(&lt;SPAN&gt;"xxxxxxxxxxx"&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;        StringArray itemArray = &lt;SPAN&gt;new &lt;/SPAN&gt;StringArray()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;for &lt;/SPAN&gt;(String item : items){&lt;BR /&gt;            itemArray.getItems().add(item)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;        }&lt;BR /&gt;        getAssetsByNameParamRequest.setNameArray(itemArray)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;                &lt;SPAN&gt;return &lt;/SPAN&gt;(GetAssetsByNameReturn) getWebServiceTemplate().marshalSendAndReceive(&lt;BR /&gt;                "https://s7sps1apissl.scene7.com/scene7/api/IpsApiService"&lt;SPAN&gt;, &lt;/SPAN&gt;getAssetsByNameParamRequest&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;                message -&amp;gt; {&lt;BR /&gt;                    &lt;SPAN&gt;try &lt;/SPAN&gt;{&lt;BR /&gt;                        AuthHeader authHeader = getS7AuthHeader()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;                        authHeader.setAccessToken(applicationConfig.getScene7AccessToken());&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;                        authHeader.setAppName(applicationConfig.getScene7AppName());&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;                        authHeader.setAppVersion(applicationConfig.getScene7AppVersion());&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;                        ((SOAPMessage) message).set.setSoapAction("getAssetsByName");&lt;BR /&gt;&lt;/SPAN&gt;                        SoapMessage soapMessage = (SoapMessage)message&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;                        SoapHeader soapHeader = soapMessage.getSoapHeader()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;this&lt;/SPAN&gt;.getMarshaller().marshal(authHeader&lt;SPAN&gt;, &lt;/SPAN&gt;soapHeader.getResult())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;                    } &lt;SPAN&gt;catch &lt;/SPAN&gt;(Exception e) {&lt;BR /&gt;                        log.error(&lt;SPAN&gt;"Error during marshalling of the SOAP headers"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;e)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;                    }&lt;BR /&gt;                })&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;    }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not using any annotation Milind. However, when I hardcode the request I get&amp;nbsp; &amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;tns:ipsApiFault xmlns:tns="&lt;A href="http://www.scene7.com/IpsApi/xsd" target="_blank" rel="noopener"&gt;http://www.scene7.com/IpsApi/xsd&lt;/A&gt;"&amp;gt;&amp;lt;tns:code&amp;gt;30000&amp;lt;/tns:code&amp;gt;&amp;lt;tns:reason&amp;gt;Required authHeader element not found.&amp;lt;/tns:reason&amp;gt;&amp;lt;/tns:ipsApiFault&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your response!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 01:48:00 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/455826#M33942</guid>
      <dc:creator>akashs71073883</dc:creator>
      <dc:date>2022-06-13T01:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Making scene7 soap call from spring boot!</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/456149#M34001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="14383123"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the error say which line exactly has issue here.&lt;BR /&gt;&lt;BR /&gt;I was going through certain threads :&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/14057932/javax-xml-bind-jaxbexception-class-nor-any-of-its-super-class-is-known-to-t" target="_blank"&gt;https://stackoverflow.com/questions/14057932/javax-xml-bind-jaxbexception-class-nor-any-of-its-super-class-is-known-to-t&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I suppose the issue lies with Marshaller here, can you post the full log if possible, thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 08:53:08 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/making-scene7-soap-call-from-spring-boot/m-p/456149#M34001</guid>
      <dc:creator>milind_bachani</dc:creator>
      <dc:date>2022-06-14T08:53:08Z</dc:date>
    </item>
  </channel>
</rss>

