From: Sam H. <sh...@nc...> - 2016-08-30 19:07:05
|
Hi again! So now I'm working on writing a SOAP request in Java for my example service. I've managed to get a response from the Opal server, but it complains about what I put in the SOAP body. Since I'm simply posting a file attachment, I'm not sure what to put in the SOAP body to make it happy. I just threw meme:meme in there for testing. Thanks for any help! Here's the request and response: Request SOAP Message: ------=_Part_0_491044090.1472583742543 Content-Type: text/xml; charset=utf-8 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:meme="http://localhost:8080/opal2/services/meme"> <SOAP-ENV:Header/> <SOAP-ENV:Body><meme:meme/></SOAP-ENV:Body> </SOAP-ENV:Envelope> ------=_Part_0_491044090.1472583742543 Content-Type: application/fasta >intergenic_region_chraradu.Chr07_13534592..13535058 aaggagtaaatattcgcccgcgaaatctttgtttttttatttcgaaattgagccaatcca ataccaccagaaataaataaaataaggatttgttagaatcttatgctctaatagaacaac attatctagttatatatttaactatatatagggggggcaaattttctaataaatgtctag ttctatataaaaatcaaaacaagatatactaatttccaattgatcaatcaatcctatgaa atattaaaataaaaaaacctcgtgattcaattattcattaaacatatgtatatacggtat atttttttattggtattggttaaatccatttttgtaattgttttattcgcgaggagccgt atgaggtgaaaatctcatgtacggttctggaatagcgatgggatttctaaacaaccatca actataaccccaaaagaaccagattccgtaagcaacatagaggaaga >intergenic_region_chraradu.Chr06_70048212..70048485 agagtttttcttctattaccattaaaatacaatagatgaatagtcattcgaagaaaaatc attaaacataaatatagaatattcaaaatattctatcacatttttttactaatatatata aatccaatcactaggattggtaactagtaataagttaataaggagcgagtatcctatttt ttattcattgagatctgttgactttgtataccatttcactgtaaatataggattttatcc tatagattcattgtggtcttgaaatttgagaaaa ------=_Part_0_491044090.1472583742543-- Response SOAP Message: <?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> <soapenv:Fault> <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client</faultcode> <faultstring>No such operation 'meme'</faultstring> <detail><ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">morangie</ns2:hostname></detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> |